Repository navigation
Conversation
Drop certificate DER fingerprint matching and PEMCertPool root filtering in favor of a single SPKI-only BlockedSPKIs / --blocked_spkis option (and blocked_spkis in the Terraform modules), enforced across every certificate in a verified chain (leaf, intermediate, and root). Unlike --reject_extension, --roots_reject_fingerprints and --intermediates_reject_fingerprints are intentionally removed rather than kept as deprecated flags: because a SHA-256 of a certificate DER and a SHA-256 of an SPKI are indistinguishable (and intermediates are not known at startup), ignoring or SPKI-forwarding old configs would silently fail open for anyone passing certificate DER fingerprints. Failing closed at startup forces callers to migrate explicitly to --blocked_spkis with SPKI SHA-256 hashes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Drop certificate DER fingerprint matching and PEMCertPool root filtering in favor of a single SPKI-only BlockedSPKIs /
--blocked_spkisoption, enforced across every certificate in a verified chain (leaf, intermediate, and root).This unifies the API, and paves the way to using
sunlight/chain.Specifying
--roots_reject_fingerprintsand--intermediates_reject_fingerprintswill prevent the binary from starting. These flags are sensitive enough that we don't want an operator to think they are blocking submissions, when they are not. I tried to forward the old flags to the new one, but that doesn't work well since--roots_reject_fingerprintused to accept DER SHA256, and--blocked_spkisdoesn't.Towards #1010.