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 ?
I've tried:
What should I do ?
for those really using gpg-agent, you can forget passphrases with:
echo RELOADAGENT | gpg-connect-agent
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
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-agentgpg-agent autostart already includes SSH support (the default one in Ubuntu 13.04 does)