I'm using GnuPG 1.4.11 on Ubuntu 11.10, and have a Crypto-Stick v1.2 with
an authentication key. My desktop is LXDE, but I'm starting gpg-agent using
keychain from my ~/.bashrc. My configuration files look like this:

# ~/.bashrc
eval `keychain --eval --agents gpg,ssh id_rsa BCB6C8D4`

# ~/.gnupg/gpg-agent.conf
pinentry-program /usr/bin/pinentry-curses
enable-ssh-support

However, while the ssh key gets loaded properly into the agent, I am
prompted for the password for the GPG key every time I start a new
shell--the agent isn't storing the key. In addition, "ssh-add -L" isn't
showing the GPG authentication key as being loaded. So, the pinentry dialog
thinks I've unlocked the key, but gpg-agent and ssh-agent aren't happy.

The agent itself seems to be running:

$ gpg-connect-agent 'GETINFO pid' /bye
D 2579
OK

and I can see the card status just fine with the "gpg --card-status"
command.

So, what could be going wrong here?

--
_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to