Bus Error on certain keys [Patch provided]

David Shaw dshaw at jabberwocky.com
Tue Jun 8 14:05:09 CEST 2004


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

On Mon, Jun 07, 2004 at 09:46:39PM -0700, Jack Repenning wrote:
> gpg --list-secret-keys --with-colons
> crashes (bus error).  Seems to be related to one of my keys in 
> particular.  Maybe:  if I do
> gpg --list-secret-keys --with-colons KeyID
> for every secret key ID, there's no problem. But if I let it walk the 
> list of secret keys, it crashes at the same place every time.

[..]

> After the patch:
> ...
> sec::1024:17:51F13EED3B82E870:1997-07-12::::Jack Repenning (Permanent 
> DSS key) <jackr at informix.com>:::
> uid:::::::::Jack Repenning <jack at netgate.net>:
> uid:::::::::Jack Repenning <jackr at bigfoot.com>:
> uid:::::::::Jack Repenning <jackr at informix.com>:
> uid:::::::::At-work Jack:
> uid:::::::::Jack Repenning <jackr at cryptorights.org>:
> uid:::::::::Thawte Freemail Member <jackr at informix.com>:
> uat:::::::::1 3321:
> uid:::::::::John Allan Repenning <jackr at informix.com>:
> uid:::::::::Jack Repenning (work DSS) <jrepenning at catapulse.com>:
> sub:i:2048:16:A5EF280B1A877C4F:1997-07-12:::::::
> sub:i:3072:16:D895FC426A299E29:2000-02-18:::::::

I see what the problem is, but I'm baffled as how you made that key.
The problem is that the key is a secret key with public subkeys.
There is no such thing.  Of course, GnuPG shouldn't bus error on it,
but at the same time, this key is likely corrupt.

What happens when you try this with the 1.2.5 release candidate?

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6-cvs (GNU/Linux)

iGoEARECACoFAkDFq3QjGGh0dHA6Ly93d3cuamFiYmVyd29ja3kuY29tL2tleS5h
c2MACgkQ4mZch0nhy8kSyQCfbvQJnXR+QYVtO8jXvFlPjw1SU48AoI/u26/XnZde
8ElH+y7kAJ+/wNLC
=aTSN
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list