gpg: accept subkeys with a good revocation but no self-sig during import
authorVincent Breitmoser <look@my.amazin.horse>
Thu, 13 Jun 2019 19:27:43 +0000 (21:27 +0200)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commit9e2f51d04320c11b39ec4773c0e2bb6fc3fd3743
treefa6aea1014b5d184690277815b20018607716d84
parent4f8fc5b85a0d1341fe21fbce0e53e35dcfc953ee
gpg: accept subkeys with a good revocation but no self-sig during import

* g10/import.c (chk_self_sigs): Set the NODE_GOOD_SELFSIG flag when we
encounter a valid revocation signature. This allows import of subkey
revocation signatures, even in the absence of a corresponding subkey
binding signature.

--

This fixes the remaining test in import-incomplete.scm.

GnuPG-Bug-id: 4393
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Gbp-Pq: Topic import-merge-without-userid
Gbp-Pq: Name gpg-accept-subkeys-with-a-good-revocation-but-no-self-sig.patch
g10/import.c