Pin the root public key (SPKI) so the fingerprint survives in-place renewal #15
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fingerprint pin now hashes the root CA public key (SubjectPublicKeyInfo) instead of the certificate DER, so it stays constant across the in-place root renewal (same key, re-issued cert). A token minted before a renewal still validates after it. Agent matches the pin against each fetched cert's SPKI (only the root carries that key). New test asserts the fingerprint is unchanged across an in-place renewal. Backend 104, Agent 60 tests pass.