Using loopback pin entry with GnuPG 2.1

Vinay Sajip vinay_sajip at yahoo.co.uk
Fri Nov 4 11:11:15 CET 2016


Dear Werner,

Thanks for the suggestions. My comments are:

>  $ gpg-error 67108924
>  67108924 = (4, 60) = (GPG_ERR_SOURCE_GPGAGENT, GPG_ERR_NOT_SUPPORTED) \
>                     = (GPG Agent, Not supported)

gpg-error is apparently not shipped with all distros - there's no sign of it on my Ubuntu system. Is there a list of error codes with meanings published somewhere (other than in gpg-error.h)?

I did the following:

> watchgnupg --force /home/foo/.gnupg/S.log

> in a second terminal and add this to gpg-agent.conf:

>  log-file socket:///home/foo/.gnupg/S.log
>  verbose
>  debug ipc


The second window now shows traffic with the agent, e.g.:

[client at fd 4 connected (local)]
4 - 2016-11-04 10:04:10  started
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_6 -> OK Pleased to meet you, process 1897
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_4 <- OK Pleased to meet you, process 1897
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_4 -> GETINFO pid
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_6 <- GETINFO pid
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_6 -> D 1897
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_4 <- D 1897
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_6 -> OK
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_4 <- OK
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_4 -> BYE
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_6 <- BYE
4 - 2016-11-04 10:04:10 gpg-agent[1897]: DBG: chan_6 -> OK closing connection
4 - 2016-11-04 10:04:10 gpg-agent[1897]: handler 0x7f960ce8b700 for fd 6 terminated


However, when I run the tests (and they fail as before, with the same error code), no further details are displayed by watchgnupg.

Do you have any further suggestions?

Thanks and regards,

Vinay Sajip



More information about the Gnupg-devel mailing list