]> git.cworth.org Git - notmuch/commit
Accept "key-missing" from a signature from a revoked key
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 27 Feb 2025 18:14:08 +0000 (13:14 -0500)
committerDavid Bremner <david@tethera.net>
Fri, 28 Feb 2025 21:18:28 +0000 (16:18 -0500)
commitc8fe08092575d2c204bd972e27370895e700d4e8
treeeeb545667aa9027bd9da86a1b3039cf34e3f6e8e
parent9e79f5562efeeb5ed8be4e26cf63a83434782003
Accept "key-missing" from a signature from a revoked key

We have traditionally expected a signature to show up as "revoked"
when the signing key is revoked.  However, GnuPG's recent fix to avoid
a denial of service against legitimate signatures appears to have
changed the status of signature verification from keys which happen to
have been revoked.

See https://bugs.debian.org/1098995 and https://dev.gnupg.org/T7547

This change makes the test suite a little bit less brittle while we
look for a resolution from upstream.  It should probably also be
backported to debian unstable unless a notmuch release to unstable is
imminent.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
(cherry picked from commit d330971b8bdb159e58a806e7ee24f3e5551d3f89)
test/T350-crypto.sh