Problem with unix socket forwarding

Andrew Gallagher andrewg at andrewg.com
Wed Sep 23 11:30:22 CEST 2015


On 23/09/15 09:01, Bernhard Reiter wrote:
> On Tuesday 22 September 2015 at 14:08:35, Andrew Gallagher wrote:
>> Anyone know where I'm going wrong?
> 
> You could try enabling more diagnosis output
> and check it to see if you are talking to right gpg-agent.

There is no gpg-agent running on the remote VM. GPG_AGENT_INFO is not
set, but even if I set it explicitly to point to the socket it doesn't
appear to attempt to contact it:

andrewg at xen:~$ GPG_AGENT_INFO=~/.gnupg/S.gpg-agent:1:1 gpg2
--debug-level 10 --list-secret-keys
gpg: enabled debug flags: packet mpi cipher filter iobuf memory cache
memstat trust extprog cardio assuan
gpg: DBG: fd_cache_open (/home/andrewg/.gnupg/secring.gpg) not cached
gpg: DBG: iobuf-1.0: open `/home/andrewg/.gnupg/secring.gpg' fd=4
gpg: DBG: iobuf-1.0: underflow: req=8192
gpg: DBG: iobuf-1.0: underflow: got=0 rc=-1
gpg: DBG: /home/andrewg/.gnupg/secring.gpg: close fd 4
gpg: DBG: fd_cache_close (/home/andrewg/.gnupg/secring.gpg) new slot created
gpg: DBG: iobuf-1.0: underflow: eof
gpg: DBG: iobuf-1.0: close `?'
random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
secmem usage: 0/65536 bytes in 0 blocks


A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20150923/ff40b756/attachment-0001.sig>


More information about the Gnupg-users mailing list