boulder/cmd
Jacob Hoffman-Andrews f9a8e744b7 Update pkcs11key to v4 (#4602)
This is a breaking API change: pkcs11key now takes as input a public key rather than
a private key label. In order to find the private key, it first finds the public key's CKA_ID
in the token, then looks for a private key with the same CKA_ID. From ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-30/pkcs-11v2-30b-d6.pdf:

> The CKA_ID field is intended to distinguish among multiple keys. In
the case of public and private keys, this field assists in handling
multiple keys held by the same subject; the key identifier for a
public key and its corresponding private key should be the same.

This does require that both the public key and private key are present and have
appropriate CKA_IDs set. I've verified this is the case in prod. In our integration
testing environment it was not the case, so I've tweaked entrypoint.sh to load
public keys into SoftHSM and set their CKA_ID.

The initial part of this change was written by @cpu. I've reviewed and approved
those commits.
2019-12-09 10:03:33 -08:00
..
admin-revoker SA: use wrapped database maps/transactions. (#4585) 2019-12-04 13:03:09 -05:00
akamai-purger Add a standalone akamai purger service (#4040) 2019-02-05 09:00:31 -08:00
boulder-ca Update pkcs11key to v4 (#4602) 2019-12-09 10:03:33 -08:00
boulder-janitor SA: use wrapped database maps/transactions. (#4585) 2019-12-04 13:03:09 -05:00
boulder-publisher publisher: allow custom UA for CT submissions. (#4492) 2019-10-21 15:08:03 -04:00
boulder-ra Switch GenerateOCSP to directly use protos instead of wrapper (#4549) 2019-11-14 11:10:33 -08:00
boulder-sa SA: refactor DB stat collection & collect more stats. (#4096) 2019-03-06 17:08:53 -08:00
boulder-va bdns: move logDNSError to exchangeOne, log ErrId specially. (#4553) 2019-11-15 16:03:45 -05:00
boulder-wfe Clarify public key blocklist documentation. (#4523) 2019-11-04 09:10:36 -05:00
boulder-wfe2 Clarify public key blocklist documentation. (#4523) 2019-11-04 09:10:36 -05:00
cert-checker deps: update github.com/zmap/zlint to latest. (#4399) 2019-08-13 13:05:29 -04:00
expiration-mailer SA: use wrapped database maps/transactions. (#4585) 2019-12-04 13:03:09 -05:00
expired-authz-purger2 SA: use wrapped database maps/transactions. (#4585) 2019-12-04 13:03:09 -05:00
gen-ca Dev/CI: Add Go 1.11.1 builds (#3888) 2018-10-19 09:38:20 -07:00
gen-key Add PKCS#11 certificate generation tool (#3729) 2018-06-12 12:13:09 -07:00
id-exporter SA: use wrapped database maps/transactions. (#4585) 2019-12-04 13:03:09 -05:00
log-validator log-validator: add cmd/daemon for verifying log integrity (#4482) 2019-10-21 10:12:55 -04:00
nonce-service Switch to more efficient multi nonce-service design (#4308) 2019-06-28 12:58:46 -04:00
notify-mailer SA: use wrapped database maps/transactions. (#4585) 2019-12-04 13:03:09 -05:00
ocsp-responder ocsp-responder: use preformed error responses (#4599) 2019-12-05 23:00:20 -08:00
ocsp-updater SA: use wrapped database maps/transactions. (#4585) 2019-12-04 13:03:09 -05:00
orphan-finder Fix orphan-finder (#4507) 2019-10-25 09:51:14 -07:00
single-ocsp Update pkcs11key to v4 (#4602) 2019-12-09 10:03:33 -08:00
testdata Switch to DSNs (#4044) 2019-02-11 10:46:07 -08:00
weak-key-flatten Basic RSA known weak key checking (#2765) 2017-05-25 09:33:58 -07:00
weak-key-search Provide formatting logger functions. (#3699) 2018-05-10 11:06:29 -07:00
clock_generic.go Switch to new vendor style (#1747) 2016-04-18 12:51:36 -07:00
clock_integration.go Provide formatting logger functions. (#3699) 2018-05-10 11:06:29 -07:00
config.go Excise grpc maxConcurrentStreams configuration (#4257) 2019-06-12 09:35:24 -04:00
config_test.go cmd: Split out config structs (#4200) 2019-05-06 11:11:08 -04:00
shell.go deps: update to prometheus/client_golang 1.2.1 (#4601) 2019-12-06 16:14:50 -05:00
shell_test.go Remove references to test-ca.pem. (#3322) 2018-01-05 12:07:12 -08:00