Refuse an expired signature whose key has expired too (closes #193) #201

Merged
clawbot merged 1 commits from issue-193-expired-signature-expired-key into next 2026-10-13 19:21:53 +02:00
1 Commits
Author SHA1 Message Date
clawbot a6aa83b398 Refuse an expired signature whose key has expired too (closes #193)
check / check (push) Waiting to run
verifySignature accepts a signature whose key has expired, since a
manifest outlives its key. The OpenPGP library stops at the expired key
without checking the signature's own expiry time, so a signature made
with one was refused while the key was live and accepted once the key
had expired as well. verifySignature now gets the signature packet from
openpgp.VerifyDetachedSignature and refuses it when it has expired.
docs/FORMAT.md Signature Scheme states the rule.

Model: opus-5-5
2026-10-13 15:06:48 +00:00