gpg-agent does not work

James Moe jimoe at sohnen-moe.com
Tue Aug 10 22:30:52 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
  gpg and gpg-agent v2.0.15

  gpg-agent is not working with Thunderbird v3.1.2. Enigmail seems to
think that gpg-agent is not properly configured. That is likely.

The "use-agent" directive is in <~/.gnupg/gpg.conf>
This is what I use at reboot:
- ----[ gpg-agent startup (\'s added for clarity) ]----
gpg-agent --debug-level advanced --daemon --enable-ssh-support \
  --write-env-file /home/jmoe/.gpg-agent.info \
  --log-file /home/jmoe /.gnupg/gpg-agent.log > /dev/null
source /home/jmoe/.gpg-agent.info > /dev/null
export GPG_AGENT_INFO SSH_AUTH_SOCK SSH_AGENT_PID
- ----[ end ]----

This is what is typically put into .gpg-agent.info:
- ----[ gpg-agent.info ]----
GPG_AGENT_INFO=/tmp/gpg-0AfD2b/S.gpg-agent:3324:1
SSH_AUTH_SOCK=/tmp/gpg-45SEJB/S.gpg-agent.ssh
SSH_AGENT_PID=3324
- ----[ end ]----


  There is a log this in the log file. However, these are entries for
ssh, not TB/Enigmail.

- ----[ typical i'm-not-working message  ]----
2010-08-09 17:02:49 gpg-agent[3324] ssh handler 0x7f31cfe6bbb0 for fd 8
started
2010-08-09 17:02:49 gpg-agent[3324] ssh request handler for
request_identities (11) started
2010-08-09 17:02:49 gpg-agent[3324] new connection to SCdaemon
established (reusing)
gpg-agent[3324.10] DBG: -> GETATTR $AUTHKEYID
gpg-agent[3324.10] DBG: <- ERR 100663404 Card error <SCD>
2010-08-09 17:02:49 gpg-agent[3324] error getting default authentication
keyID of card: Card error
2010-08-09 17:02:49 gpg-agent[3324] ssh request handler for
request_identities (11) ready
gpg-agent[3324.10] DBG: -> RESTART
gpg-agent[3324.10] DBG: <- OK
2010-08-09 17:02:58 gpg-agent[3324] ssh handler 0x7f31cfe6bbb0 for fd 8
terminated
- ----[ end ]----


- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxhtvwACgkQzTcr8Prq0ZNw8QCeJ9BF4MemeXjzTfEqsIBstI8O
4JkAoLFqsJnwt9ZmtalqiexdXkJo+WXi
=9PuX
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list