gpg-agent 2.1.x interop with gpg 1.4.x

Daniel Kahn Gillmor dkg at
Tue Oct 28 22:50:56 CET 2014

On Tue 2014-10-28 16:40:18 -0400, Daniel Kahn Gillmor wrote:
> 0 test at testmachine:~$ gpg-agent --daemon
> 0 test at testmachine:~$ export GPG_AGENT_INFO=${HOME}/.gnupg/.S.gpg-agent:0
> 0 test at testmachine:~$ echo test | gpg --clearsign
> You need a passphrase to unlock the secret key for
> user: "test user <test at>"
> 2048-bit RSA key, ID 495CD78F, created 2014-10-28
> gpg: gpg-agent protocol version 0 is not supported
> Enter passphrase: 
> gpg: Interrupt caught ... exiting
> 130 test at testmachine:~$ 
> This suggests that we won't be able to mix and match the agent with gpg
> 1.4.x at all -- is that the plan for 2.1.0, or am i testing or building
> something wrong?

Sigh.  Yes, i'm testing this wrong.

I should have been doing:

 export GPG_AGENT_INFO=${HOME}/.gnupg/S.gpg-agent:0:1

instead of:

 export GPG_AGENT_INFO=${HOME}/.gnupg/.S.gpg-agent:0

Carry on, nothing to see here.

(i did run into some funny business with pinentry-curses, but that's a
separate issue, which i'll report separately when i can figure it out)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: </pipermail/attachments/20141028/1613894f/attachment.sig>

More information about the Gnupg-devel mailing list