I want to use gpg-agent (and its gpg.conf and gpg-agent.conf files) when I invoke gpg (from Enigmail or otherwise) but Ubuntu 12.04 uses seahorse as the default 'agent.' While seahorse may or may not read these conf files, how can I force gpg to bypass Ubuntu's setup and use gpg-agent?
This is what I see when I ask the terminal to return $GNU_AGENT_INFO
:
user@user:~$ echo $GNU_AGENT_INFO
/tmp/keyring-xxxxxx/gpg:0:1
Following the gpg man page, I have tried adding the following lines to my gpg.conf file without desired result:
--gpg-agent-info=/usr/bin/gpg-agent
--gpg-agent-info=/usr/bin/gpg-agent:0:1
Thanks.
PS: In addition, does seahorse use equivalent files of the same path and name (gpg.conf
, gpg-agent.conf
)? If not, what are the paths and names I could use to reach equivalent result?