Commit graph

40 commits

Author SHA1 Message Date
2ad9cbaabe Add 'clientcert/' from commit '3cbf4b5b01c7b5a5f54a1d67e208b1245cb07ec8'
git-subtree-dir: clientcert
git-subtree-mainline: 4c398fcdb9
git-subtree-split: 3cbf4b5b01
2024-05-20 17:01:17 +02:00
4c398fcdb9 Remove clientcert app
The clientcert app here will be replaced with a git subtree clone.
2024-05-20 17:00:24 +02:00
3cbf4b5b01 Added alert() message when Certificate Password is too short. 2024-05-20 10:14:17 -04:00
530f249fac Add link to the client certificate generator
Fixes https://bugs.cacert.org/view.php?id=1555
2024-02-04 10:38:09 +01:00
0ba39bdc13 Update to client cert app 0.2.0 2023-05-20 12:47:04 +02:00
4db9302042 Improve logo rendering
This commit implements responsive sizing for the CAcert logo. The logo has
been optimized in Inkscape to support dynamic sizing.
2023-05-20 11:52:17 +02:00
4bb13ff982 Move application code to external file
This commit moves the application code to a separate JavaScript file. Error
handling for missing CA certificates has been added to avoid endless loops.
2023-05-20 11:15:33 +02:00
7440e4a320 Add a favicon 2023-05-20 11:13:02 +02:00
f1cf3d19f2 Add client certificate application
This commit adds published code built from
https://code.cacert.org/cacert/browser-csr-generation/src/tag/0.1.0 to
https://community.cacert.org/clientcert/.
2023-05-19 19:53:09 +02:00
90cca97ce3 Specify exact dependencies 2023-05-19 19:40:31 +02:00
2887f6d378 Implement a client only solution
This commit contains a client only (aka semi-manual) solution for creating
client certificate key stores with a modern web browser.
2023-05-19 19:30:30 +02:00
4ecdedadf7 Remove unneeded Go code, update dependencies 2023-05-19 13:44:07 +02:00
30c7ddba80 Update gulp setup
- use dart sass instead of deprecated node-sass
- update bootstrap
- update node-forge
- use npm run scripts instead of directly calling node_modules/.bin/gulp
2022-11-20 08:54:16 +01:00
e688e317db Change repository URL and module paths 2022-11-20 08:30:33 +01:00
1617f535c0 Add migration for languages 2022-07-28 18:46:14 +02:00
6e3e84c70d Add support for dynamic set of sub CAs 2022-07-28 18:46:14 +02:00
b16ca196f1 Tidy dependencies 2022-07-28 18:46:14 +02:00
e485abeced Setup more CAB forum compliant CA structure 2022-07-28 18:46:14 +02:00
e67dc820cf WIP: migrations 2022-07-28 18:46:14 +02:00
b57c01b3c4 WIP: migrations 2022-07-28 18:46:14 +02:00
bd54c060b9 Update instructions for user installation 2022-04-24 19:21:56 +02:00
5f60c08ff4 Update dependency 2020-12-14 17:28:28 +01:00
56bee5e917 Tidy dependencies 2020-12-14 07:00:49 +01:00
743b8e6853 Implement CSR validation
This commit adds CSR validation and generation of a baseline requirements
compatible request token instead of a UUID.

Logging has been configured to use timestamps.
2020-12-14 06:59:30 +01:00
2093bf2429 Decouple request and response via WebSocket 2020-12-12 09:59:06 +01:00
08be6e68bc Move handlers into separate package 2020-12-12 07:26:26 +01:00
b748050de3 Add CA chain to download, improve UI 2020-12-11 22:05:27 +01:00
a960a60ecd Improve example CA setup
The example CA now has more realistic 2 levels with a root CA and a sub CA.

Setup script and ca.cnf has been changed to create a root CA and a sub CA
that is signed by the root CA. The sub CA is used for signing the end entity
certificates. Example CA directory has been changed to example_ca for better
readability.
2020-12-05 19:48:34 +01:00
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
e13c9d174b Implement i18n support
This commit adds internationalization support and a german translation.
2020-12-05 00:21:18 +01:00
3503e09212 Update README.md for the Go backend 2020-11-30 00:56:44 +01:00
d0e41cc9a9 Add PKCS#12 creation 2020-11-30 00:45:57 +01:00
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
c751c51713 Add missing parentheses 2020-11-30 00:11:18 +01:00
006c93c66c Update package-lock.json, use UTF8 for common name 2020-11-22 20:56:03 +01:00
c443a83c11 Add GPL-2 license text 2020-11-22 11:47:19 +01:00
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
20f0a5e4bb Fix typo 2020-06-05 22:39:04 +02:00
0187075d51 Update CSS from cacert-css repo 2020-05-31 19:56:33 +02:00
fad7b9ab31 Initial CAcert community website content 2020-05-31 19:28:20 +02:00