Re: Help with gpg-agent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpvEXyF8YcJ9.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux