boulder/ca
Aaron Gable 8545ea8364
KeyPolicy: add custom constructor and make all fields private (#7543)
Change how goodkey.KeyPolicy keeps track of allowed RSA and ECDSA key
sizes, to make it slightly more flexible while still retaining the very
locked-down allowlist of only 6 acceptable key sizes (RSA 2048, 3076,
and 4092, and ECDSA P256, P384, and P521). Add a new constructor which
takes in a collection of allowed key sizes, so that users of the goodkey
package can customize which keys they accept. Rename the existing
constructor to make it clear that it uses hardcoded default values.

With these new constructors available, make all of the goodkey.KeyPolicy
member fields private, so that a KeyPolicy can only be built via these
constructors.
2024-06-18 17:52:50 -04:00
..
proto Use generic types for gRPC stream implementations (#7501) 2024-05-24 13:54:25 -07:00
testdata Dynamically generate grpc-creds at integration test startup (#7477) 2024-05-15 11:31:23 -04:00
ca.go Fix reference bug in CA.noteSignError (#7534) 2024-06-07 15:34:02 -04:00
ca_test.go KeyPolicy: add custom constructor and make all fields private (#7543) 2024-06-18 17:52:50 -04:00
crl.go Fix reference bug in CA.noteSignError (#7534) 2024-06-07 15:34:02 -04:00
crl_test.go Better compile-time type checking for gRPC server implementations (#7504) 2024-05-28 09:26:29 -07:00
ecdsa_allow_list.go Remove config live reloader package (#7112) 2023-10-26 16:06:31 -04:00
ecdsa_allow_list_test.go CA: Run all CA package tests in parallel (#7438) 2024-04-17 16:01:37 -07:00
ocsp.go Fix reference bug in CA.noteSignError (#7534) 2024-06-07 15:34:02 -04:00
ocsp_test.go Fix reference bug in CA.noteSignError (#7534) 2024-06-07 15:34:02 -04:00