Help with gpg-agent
Todd Zullinger
tmz at pobox.com
Sun Jan 18 23:03:21 UTC 2009
Mail Lists wrote:
> On 01/18/2009 04:05 PM, Kevin Kofler wrote:
>> Mail Lists wrote:
>>> How do I make this work in gnome please ?
>>
>> GNOME normally uses seahorse instead of the vanilla gpg-agent.
I don't think that's enabled by default. It certainly isn't for me,
on an up to date F-10.
> Where in gnome does one create session wide environments (user
> level) ?
I've always setup gpg-agent in my bash configuration. This works
whether I log in graphically or via the console. I have a section in
~/.bash_profile that mimics what /etc/profile does to source multiple
filed, and then in ~/.profile.d/gpg-agent.sh, I have:
# start gpg-agent if needed
agent=$(which gpg-agent 2>/dev/null)
info=~/.gnupg/agent-info
if [ -x "$agent" ]; then
if [ -f $info ] && kill -0 `cut -d: -f 2 $info` 2>/dev/null; then
export $(cat $info)
else
eval $($agent --daemon --write-env-file $info)
fi
# export gpg tty
export GPG_TTY=`tty`
fi
unset agent info
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To succeed, jump as quickly at opportunities as you do at conclusions.
-- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090118/3ba1c6aa/attachment-0001.sig>
More information about the fedora-list
mailing list