gpg: no subkey for subkey revocation packet

Werner Koch wk at gnupg.org
Tue Aug 28 19:15:01 CEST 2001


On Wed, 1 Aug 2001 11:20:01 -0700 (PDT), Len Sassaman said:

> Hey -- I'm getting about 50 of these messages when I do keyring
> operations.

> Is there any way I can tell what keys this message is referring to? (error
> messages that are specific about what they are referring to are always

Okay, I have fixed that.  Here is a patch which _might_ work against
1.0.6

Index: sig-check.c
===================================================================
RCS file: /cvs/gnupg/gnupg/g10/sig-check.c,v
retrieving revision 1.57.2.15
diff -u -r1.57.2.15 sig-check.c
--- sig-check.c	2001/04/17 16:20:18	1.57.2.15
+++ sig-check.c	2001/08/28 16:11:54
@@ -546,7 +550,9 @@
 	    md_close(md);
 	}
 	else {
-	    log_info ("no subkey for subkey revocation packet\n");
+            if (!opt.quiet)
+                log_info ("key %08lX: no subkey for subkey revocation packet\n",
+                          (ulong)keyid_from_pk (pk, NULL));
 	    rc = G10ERR_SIG_CLASS;
 	}
     }
@@ -569,7 +575,9 @@
 	    md_close(md);
 	}
 	else {
-	    log_info ("no subkey for key signature packet\n");
+            if (!opt.quiet)
+                log_info ("key %08lX: no subkey for subkey binding packet\n",
+                          (ulong)keyid_from_pk (pk, NULL));
 	    rc = G10ERR_SIG_CLASS;
 	}
     }
@@ -602,8 +610,10 @@
 	    md_close(md);
 	}
 	else {
-	    log_info ("no user ID for key signature packet of class %02x\n",
-                      sig->sig_class );
+            if (!opt.quiet)
+                log_info ("key %08lX: no user ID for key signature packet "
+                          "of class %02x\n",
+                          (ulong)keyid_from_pk (pk, NULL), sig->sig_class );
 	    rc = G10ERR_SIG_CLASS;
 	}
     }


-- 
Werner Koch        Omnis enim res, quae dando non deficit, dum habetur
g10 Code GmbH      et non datur, nondum habetur, quomodo habenda est.
Privacy Solutions                                        -- Augustinus





More information about the Gnupg-devel mailing list