Just one gpg-agent
Ingo Klöcker
kloecker at kde.org
Fri Mar 6 22:35:49 CET 2009
On Friday 06 March 2009, Thomas Bohn wrote:
> I currently try to get the gpg-agent to start just one time and not
> to get one more gpg-agent session each time I log in, but it doesn't
> work.
>
> Even the hint in the gpg-agent man page won't work, I still get more
> than one gpg-agent process and more than one gpg-agent directory.
I suppose we are talking about Linux or some Unix derivative.
I run the following two commands on session start:
=====
killall gpg-agent 2>/dev/null
eval "$(gpg-agent --daemon --default-cache-ttl 36000)"
=====
Since I'm using KDE they are in a file called start-gpg-agent.sh that
I've put into ~/.kde/env. Before that I used a custom ~/.xsession
script.
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20090306/46516978/attachment.pgp>
More information about the Gnupg-users
mailing list