Problem with GPG

lists.gnupg-users at duinheks.nl lists.gnupg-users at duinheks.nl
Mon Aug 8 14:58:30 CEST 2011


Hello,

I call PGP from Pine with a simple script:
   #!/bin/sh
   echo "xxxxxxxxxxxx" | /usr/bin/gpg --batch --sign --armour --clearsig --passphrase-fd 0 $1
   mv $1.asc $2
   Lately I noticed that it did not work, withour giving me any
   warning.

When I use it 'by hand' I see an error:
   echo "xxxxxxxxxxxxxxx" | /usr/bin/gpg --batch --sign
     --armour --clearsig --passphrase-fd test
   -----BEGIN PGP SIGNED MESSAGE-----
   Hash: SHA1
   gpg: pkglue.c:41: mpi_from_sexp: Assertion `data' failed.
   Aborted

What's happening and how can I repair it?

The file test contains nothing spectacular:
   /home/jbeekhui/.gnupg/pubring.gpg
   ---------------------------------
   pub  1024D/4F702D4A 2001-10-27 Johannes D.H. Beekhuizen
        Key fingerprint = C913 300F FEF9 92BE 8320  07B4 2DF2 2641 4F70 2D4A
   uid                            Johannes Beekhuizen
   sub  1024g/1074CC1A 2001-10-27

I'm running GNUpg 2.0.18 under SlackWare 13.0, built with the
libraries:
   libgpg-error	1.9
   libgrypt	1.5.0
   libksba	1.2.0
   libassuan	2.0.2

Maby yhnals for any helpful help,

 	Hans Beekhuizen.


J.D.H. Beekhuizen
e-mail:	jdh.beekhuizen at duinheks.nl
tel:	+31(0)714015437
fax:	+31(0)714017198



More information about the Gnupg-users mailing list