segfault in gpg --list-options show-photos --list-secret-keys

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Mar 5 05:33:27 CET 2010


On 03/04/2010 07:28 PM, David Shaw wrote:
> On Mar 4, 2010, at 6:47 PM, Daniel Kahn Gillmor wrote:
> 
>> hi folks--
>>
>> it looks like if there is a User Attribute (UAT, i.e. an attached photo)
>> in the secret keyring, then the following command raises a segmentation
>> fault:
>>
>>  gpg --list-options show-photos --list-secret-keys
> 
> This is a known bug (it was #1138).  It's fixed and will be part of the next release.

Thanks for pointing that out, David.  That does look like the same bug.
 The patch i see in the tracker [0] looks like a reasonable workaround,
though it appears that show-uid-validity simply won't work as a
list-option for --list-secret-keys.  Maybe the man page could mention
this limitation?

That is, something like a change from

      show-uid-validity
        Display  the  calculated  validity of user IDs during key
        listings.  Defaults to no.

to

      show-uid-validity
        Display  the  calculated  validity of user IDs during
        listings of public keys.  Defaults to no.

Regards,

	--dkg

[0] https://bugs.g10code.com/gnupg/issue1138

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 891 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20100304/ef19647f/attachment.pgp>


More information about the Gnupg-devel mailing list