gpg-agent works like ssh-agent ... when you run it, it will output an environment variable + pid allowing you to 'hook in' to the current gpg-agent process ... it would be nice if all your new terminals had access to the gpg-agent so that you dont have to launch a new one and all that fun stuff here is the hack i made real quick (i'd highly suggest a rework of keychain into modular functions so that it could easily support more agents/conf files in the future) # hook into gpg-agent running="$(ps ax | grep 'gpg-agent --daemon' | grep -v grep | awk '{print $1}')" if [ -z "${running}" ] ; then echo $E " ${GREEN}*${OFF} Starting new gpg-agent" gpg-agent --daemon > ~/.gpg-agent else echo $E " ${GREEN}*${OFF} Found existing gpg-agent at PID ${running}" fi
supporting quintuple-agent would be nice too. It works the same way as ssh-agent and gpg-agent but will need a --fork option instead of --daemon.
As far as I know gpg-agent is included in the unstable versions of gpg (eg. 1.95). But it doesn't work with the stable gpg 1.2.4. gpg-agent is apperently something they got from the
As far as I know gpg-agent is included in the unstable versions of gpg (eg. 1.95). But it doesn't work with the stable gpg 1.2.4. gpg-agent is apperently something they got from the Ægyption project. Anyway this is really suboptimal, so instead I suggest we use the gnome-gpg agent. This works with the gnome-keyring deamon and has a nice gnome interface :) I've created an ebuild for the gnome-gpg 0.3.0: http://www.cs.auc.dk/~arj/gnome-gpg-0.3.0.ebuild
not knowing this bug existed, i hacked up a quick script for gpg-agent nothing even close to complete... but a basic idea is here: http://dev.gentoo.org/~pfeifer/gpg-agent-check/gpg-agent-check just mentioned this to agriffis and it seems we might see some of the gpg-agent stuff in the near future. Jay
First pass at gpg-agent support is now in keychain-2.4.0