1 From: Vincent Breitmoser <look@my.amazin.horse>
2 Date: Thu, 13 Jun 2019 21:27:43 +0200
3 Subject: gpg: accept subkeys with a good revocation but no self-sig during
6 * g10/import.c (chk_self_sigs): Set the NODE_GOOD_SELFSIG flag when we
7 encounter a valid revocation signature. This allows import of subkey
8 revocation signatures, even in the absence of a corresponding subkey
13 This fixes the remaining test in import-incomplete.scm.
16 Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
19 1 file changed, 1 insertion(+)
21 diff --git a/g10/import.c b/g10/import.c
22 index 4fdf248..ee2fed8 100644
25 @@ -3613,6 +3613,7 @@ chk_self_sigs (ctrl_t ctrl, kbnode_t keyblock, u32 *keyid, int *non_self)
26 /* It's valid, so is it newer? */
27 if (sig->timestamp >= rsdate)
29 + knode->flag |= NODE_GOOD_SELFSIG; /* Subkey is valid. */
32 /* Delete the last revocation sig since