Re: gpg-agent

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

 



On 08/22/2013 11:48 PM, Martin S wrote:
> On Thursday, August 22, 2013 05:16:57 PM Raman Gupta wrote:
>> On 08/22/2013 04:18 PM, Martin S wrote:
>>> As I understand it the file gpg-agent-startup.sh should be placed in
>>> /etc/kde/env and made executable for the gpg-agent to start att boot time?
>>> Agent is also enabled in the ~/.gnupg/gpg.conf
>>>
>>> Running the file manually it starts the agent, but after having booted,
>>> the
>>> gpg-agent isn't started, so it seems the directory/file isn't read at boot
>>> time?
>>>
>>> Where should that file be place to be run at startup?
>>>
>>> /Martin S
>>
>> I would suggest use of "keychain". It will automatically load from
>> /etc/profile.d and will handle your gpg agent as well as other agents
>> like ssh.
> 
> I installed keychain, created a file in profile.d which I tested manually (and 
> it worked) and then rebooted.

You shouldn't need to create anything in profile.d manually:

# rpm -q --whatprovides /etc/profile.d/keychain.sh
keychain-2.6.8-11.fc19.noarch

> Then 
> [mskjoldebrand@dragon ~]$ ps aux | grep gpg-agent
> mskjold+  1491  0.0  0.0 112644   928 pts/1    S+   05:41   0:00 grep --
> color=auto gpg-agent
> 
> Hmm gpg-agent isn't there ... still I tried creating a new signed message from 
> KMail, and it actually works.
> 
> Shouldn't gpg-agent show up in ps aux | grep gpg-agent if it's run from 
> profile.d? 

Did you create a .keychainrc file with your gpg key ID as specified here:

/usr/share/doc/keychain-2.6.8/README.Fedora

After you do that, and login again, what happens when you type
"keychain" at the prompt? This is what I see:

$ keychain

KeyChain 2.6.8; http://www.gentoo.org/proj/en/keychain/
Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL

 * Found existing ssh-agent (4386)
 * Found existing gpg-agent (4651)

and those pid's match my running ssh and gpg agents (which were
started by keychain at login time).

> Or have I worked from outdated gpg-docs, and KMail finds gpg anyway (it didn't 
> before) and wasted everyuones time? =(

Not sure about this, I don't use kmail.

Regards,
Raman
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux