Issue with --sign option

David Shaw dshaw at jabberwocky.com
Mon Aug 19 14:49:30 CEST 2013


On Aug 18, 2013, at 11:45 AM, ashish tiwari <ashishtewariashish at gmail.com> wrote:

> echo test123|/usr/local/bin/gpg --no-tty --passphrase-fd 0 -o /apploatr/.gnupg/ab.pgp --debug-level advanced --log-file a.log --sign --encrypt -r nkumar /apploatr/.gnupg/test.txt
> 
> gpg: Ohhhh jeeee: ... this is a bug (getkey.c:2696:lookup)
> secmem usage: 1632/1632 bytes in 3/3 blocks of pool 1632/32768
> ksh: 41382116 IOT/Abort trap

I think this is a corrupt secret keyring.  Regardless of the issue of "-sign" vs "--sign", an abort like that shouldn't happen.  I don't know what version of GnuPG this is, but the only BUG() call in the lookup function is one that fires if the packet it sees in the secret keyring is not a secret key.

David




More information about the Gnupg-users mailing list