Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation of public keys to prevent certifying weak keys (#490)
This adds checks for RSA, ECDSA and ED25519 (no-op) keys. This will prevent Fulcio from signing certificates for the following: * DSA keys * RSA keys that are smaller than 2048 or larger than 4096 * RSA keys with weak primes * ECDSA keys that aren't P256, P384, or P521 (P224 or custom curves) Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
- Loading branch information