Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation of public keys to prevent certifying weak keys #490

Merged
merged 1 commit into from
Mar 29, 2022

Commits on Mar 29, 2022

  1. Add validation of public keys to prevent certifying weak keys

    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>
    haydentherapper committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    d0a9f7c View commit details
    Browse the repository at this point in the history