Fix R4: checkpoint binds private key to enrolled fingerprint #8

Merged
leora merged 1 commits from leora/fix-r4-checkpoint-key-binding into sigil-initial 2026-10-06 06:14:02 +08:00
Contributor

Summary

R4: checkpoint refused only unknown signer names, not wrong keys.

Changes

  • Bind signing key fingerprint to enrolled fingerprint before insert
  • Regression test for enrolled-name + stranger key

Test plan

  • 141 tests pass
## Summary **R4**: checkpoint refused only unknown signer names, not wrong keys. ## Changes - Bind signing key fingerprint to enrolled fingerprint before insert - Regression test for enrolled-name + stranger key ## Test plan - [x] 141 tests pass
leora added 1 commit 2026-10-06 06:14:01 +08:00
checkpoint() only checked that the signer name was enrolled, so a stranger
key could write a polluting checkpoint row. Refuse unless the private key's
fingerprint equals the enrolled fingerprint for that signer.
leora merged commit 7e0ac5020c into sigil-initial 2026-10-06 06:14:02 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bigpickle/sigil#8
No description provided.