Re: Card only available to root user

2011-08-08 Thread Werner Koch
On Sat, 6 Aug 2011 19:46, l...@debethencourt.com said: gpg-connect-agent 'getinfo version' /bye ERR 100 not implemented You are running a *very* old version of gpg-agent ( 2.0.5) - or something hijacked the connection to gpg-agent (seehorse? gnome-keyring?) Shalom-Salam, Werner -- Die

Problem with GPG

2011-08-08 Thread lists . gnupg-users
Hello, I call PGP from Pine with a simple script: #!/bin/sh echo | /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

Re: Card only available to root user

2011-08-08 Thread Luis de Bethencourt
On Mon, Aug 08, 2011 at 09:38:49AM +0200, Werner Koch wrote: On Sat, 6 Aug 2011 19:46, l...@debethencourt.com said: gpg-connect-agent 'getinfo version' /bye ERR 100 not implemented You are running a *very* old version of gpg-agent ( 2.0.5) - or something hijacked the connection to

Re: Problem with GPG

2011-08-08 Thread Werner Koch
On Mon, 8 Aug 2011 14:58, lists.gnupg-us...@duinheks.nl said: #!/bin/sh echo | /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

Re: Card only available to root user

2011-08-08 Thread Werner Koch
On Mon, 8 Aug 2011 18:05, l...@debethencourt.com said: this is very strange, that shows it as 2.0.17, but it still says that 'getinfo version' is not implemented. One if these GNOME tools is intercepting the connection and acts as a MITM between gpg-connect-agent and gpg-agent. Check the

Re: Problem with GPG

2011-08-08 Thread Doug Barton
On 08/08/2011 05:58, lists.gnupg-us...@duinheks.nl wrote: Hello, I call PGP from Pine with a simple script: Take a look at http://dougbarton.us/PGP/ppf/index.html gpg: pkglue.c:41: mpi_from_sexp: Assertion `data' failed. Aborted I'm running GNUpg 2.0.18 under SlackWare 13.0, built

Re: Card only available to root user

2011-08-08 Thread Luis de Bethencourt
On Mon, Aug 08, 2011 at 07:57:44PM +0200, Werner Koch wrote: On Mon, 8 Aug 2011 18:05, l...@debethencourt.com said: this is very strange, that shows it as 2.0.17, but it still says that 'getinfo version' is not implemented. One if these GNOME tools is intercepting the connection and