On Mon, 8 Aug 2011 14:58, lists.gnupg-us...@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. _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users