1
0
Fork 0
Commit Graph

7 Commits

Author SHA1 Message Date
Jan Dittberner 1f8c44689e Implement CSRF protection
This commit adds CSRF protection based on the gorilla/csrf package.

Node dependencies have been updated.

Logging uses sirupsen/logrus for log level support now.
2020-12-05 19:46:15 +01:00
Jan Dittberner e13c9d174b Implement i18n support
This commit adds internationalization support and a german translation.
2020-12-05 00:21:18 +01:00
Jan Dittberner d0e41cc9a9 Add PKCS#12 creation 2020-11-30 00:45:57 +01:00
Jan Dittberner 5c3f0ea942 Add signer backend
This commit adds a simple go backend calling openssl ca to sign CRS
coming from the client. The JavaScript code in src/index.html has been
extended to send requests to the sign endpoint and display the resulting
certificate in a separate div element.

A script setup_example_ca.sh and an openssl configuration file ca.cnf
has been added to allow quick setup of a simple example CA.
2020-11-30 00:22:43 +01:00
Jan Dittberner c751c51713 Add missing parentheses 2020-11-30 00:11:18 +01:00
Jan Dittberner 006c93c66c Update package-lock.json, use UTF8 for common name 2020-11-22 20:56:03 +01:00
Jan Dittberner 564c1bd76b Add initial implementation
This commit implements a basic static HTML page that uses Bootstrap 4
for layout and node-forge to generate a RSA key pair and a certificate
signing request. The subject of the CSR and the key size can be chosen
by the user.

The implementation uses gulp to collect static assets and to allow
bootstrap customization.
2020-11-22 11:42:18 +01:00