Commit graph

5 commits

Author SHA1 Message Date
de997913cf Implement configuration and CA hierarchy setup
This commit implements a mechanism to load CA configuration dynamically from
JSON files. Missing keys and certificates can be generated in a PKCS#11 HSM
or Smartcard. Certificates are stored as PEM encoded .crt files in the
filesystem.

The default PKCS#11 module (softhsm2) is now loaded from a platform specific
path using go:build comments.
2022-04-16 22:24:32 +02:00
1d43b4d1b0 Update to go 1.18 2022-04-16 12:21:15 +02:00
7c0ccca665 Update dependencies 2022-04-13 08:39:26 +02:00
0a8b4896ba Add PKCS#11 test to generate root certificate
- add documentation how to initialize SoftHSM for testing
- add cmd/signer package to hold future signer command
- add test to use a private key from softhsm to create a root
  certificate
2022-04-13 08:32:16 +02:00
3affc704d8 First DDD based signer implementation parts 2021-08-23 20:53:43 +02:00