More on --list-secret-keys bug

Stainless Steel Rat ratinox at peorth.gweep.net
Sun Feb 21 21:35:33 CET 1999


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I did some digging and thought I found the problem in keylist.c.  This is
the patch I came up with:

$ diff g10/keylist.c.orig g10/keylist.c
71c71
<       list_one( list, 0 );
- ---
>       list_one( list, 1 );

With this patch, --list-secret-keys without an argument works, but with the 
argument I get this nasty-looking error:

$ /usr/local/pkg/gnupg-0.9.3/bin/gpg --list-secret-keys ratinox
gpg: Oops; key lost!
node 0x80a2f78 00/00 type=secret-key
node 0x80a2fe0 00/00 type=user-id  "Stainless Steel Rat <ratinox at peorth.gweep.net>"
node 0x80a30d0 00/00 type=signature  keyid=549548D9
node 0x80a3420 00/00 type=secret-subkey
node 0x80a34e8 00/00 type=signature  keyid=549548D9


Sorry, but this one is beyond my pathetic debugging abilities.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE20MJ1gl+vIlSVSNkRAqRGAKDbU7yob1KYCxAxfog5yMgoCquGYgCdGE+h
ysHMEmG7NFES/ycNywERyYU=
=wDon
-----END PGP SIGNATURE-----

-- 
Rat <ratinox at peorth.gweep.net>    \ Happy Fun Ball may stick to certain types
Minion of Nathan - Nathan says Hi! \ of skin.
PGP Key: at a key server near you!  \ 




More information about the Gnupg-devel mailing list