--sign option giving error

ashish tiwari ashishtewariashish at gmail.com
Sun Aug 18 14:31:33 CEST 2013


I have generated a new pgp key.

I need to encrypy and sign docs using the belwo command

echo "$PGP_SKEY"|/usr/local/bin/gpg --no-tty --passphrase-fd 0 -o
"$OUT_FILE" --sign --encrypt -r "$PGP_RID" "$FILE“
PGP_SKEY ? Password of Oracle PGP user id <………..>
OUT_FILE ? Encrypted File Name that will be sent to Bank
PGP_RID ? Recipient PGP user ID (Bank’s)  <……..>
File ? The File Name to be encrypted


When I run the below command I am getting error
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


If I remove the --sign option it works

I tried also

gpg --sign-key <uid>

Again I got the same error

[apploatr]:{tulqerp02}: gpg --sign-key <UID>
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
pub  2048R/936BE940  created: 2013-08-18  expires: 2015-08-18  usage: SC
                     trust: ultimate      validity: ultimate
sub  2048R/CB8A40C9  created: 2013-08-18  expires: 2015-08-18  usage: E
[ultimate] (1). apploatr (ERP) <apploatr at tulqerp02.williams.com>

gpg: Ohhhh jeeee: ... this is a bug (getkey.c:2696:lookup)
secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/32768
IOT/Abort trap

Any help is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130818/b951c724/attachment.html>


More information about the Gnupg-users mailing list