Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26970 - add support for gpg-agent
Summary: add support for gpg-agent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Keychain Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-19 23:20 UTC by SpanKY
Modified: 2004-09-09 20:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2003-08-19 23:20:33 UTC
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
Comment 1 Jeffrey Yasskin 2004-01-12 12:46:42 UTC
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.
Comment 2 Anders Rune Jensen (RETIRED) gentoo-dev 2004-05-28 01:15:52 UTC
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 
Comment 3 Anders Rune Jensen (RETIRED) gentoo-dev 2004-05-28 01:15:52 UTC
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
Comment 4 Jay Pfeifer (RETIRED) gentoo-dev 2004-08-12 15:05:58 UTC
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
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-09-09 20:25:58 UTC
First pass at gpg-agent support is now in keychain-2.4.0