I've tried:
- the SIGHUP method --> no succes
- the cache timeout in gpg-agent.conf --> it seems that this file is not read, althougt I have the 'use-agent' line in gpg.conf
What should I do ?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityfor those really using gpg-agent, you can forget passphrases with:
echo RELOADAGENT | gpg-connect-agent
gnome-keyring-daemon
too (on 14.04) - I've looked everywhere to find a simple "forget"!
GPG: In a single command:
gpg-connect-agent reloadagent /bye
SSH: for ssh agent you probably want those two:
ssh-add -D #delete identities
ssh-agent -k #kill ssh-agent
gpg --clear-password-cache
Let me begin by saying I had the exact same issue...
Your GPG secrets are probably being handled by the Gnome Keyring, even if gpg-agent
is running. This answer provides some details on the available options for it.
Another way is to disable the GPG component of the Gnome Keyring, so that gpg-agent
is used:
*.desktop
) the file /etc/xdg/autostart/gnome-keyring-gpg.desktop
.gpg-agent
to autostart. At least for me, running Ubuntu 13.04, that's true. However, if you need to, refer this post for some information on how to configure it.gpg-agent
should be running, and it does respond both to settings in ~/.gnupg/gpg-agent.conf
and to SIGHUP
signals.ssh-agent
or gpg-agent
gpg-agent
autostart already includes SSH support (the default one in Ubuntu 13.04 does)gnome-keyring-gpg.desktop
file does not exist.
gpg-agent.conf
file. So I want to ask: what is your GPG agent? Are you sure it is confgured properly? Where are you sending SIGHUP?gpg-connect-agent
does indeed seem to work for seahorse (at least for me on 14.04), not justgpg-agent
. This means that without disablinggnome-keyring
you should be able to use it out of the box.