Problem with GPG
Werner Koch
wk at gnupg.org
Mon Aug 8 19:54:32 CEST 2011
On Mon, 8 Aug 2011 14:58, lists.gnupg-users at duinheks.nl said:
> #!/bin/sh
> echo "xxxxxxxxxxxx" | /usr/bin/gpg --batch --sign --armour --clearsig --passphrase-fd 0 $1
You should better use
gpg --batch --sign --armour --clearsig --passphrase-fd 0 --yes -o "$1".asc "$1"
to avoid the mv. Even better use gpg-agent.
> 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
Please show us the output of
/usr/bin/gpg --version
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users
mailing list