On 17/04/06, Mike Williams <[EMAIL PROTECTED]> wrote: > On Monday 17 April 2006 18:26, Mick wrote: > > I seem to have something wrong with the gpg-agent setup on by box. > > First of all gpg-agent does not start automatically despite the fact > > that I have added eval "$(gpg-agent --daemon)" in my ~/.xsession file. > > gimli ~ # egrep -i gpg.agent /usr/kde/3.5/{env,shutdown}/* > /usr/kde/3.5/env/agent-startup.sh:# Uncomment the following lines to start > gpg-agent > /usr/kde/3.5/env/agent-startup.sh:if [ -x /usr/bin/gpg-agent ]; then > /usr/kde/3.5/env/agent-startup.sh: eval "$(/usr/bin/gpg-agent --daemon)" > /usr/kde/3.5/shutdown/agent-shutdown.sh:if [ -n "${GPG_AGENT_INFO}" ]; then > /usr/kde/3.5/shutdown/agent-shutdown.sh: kill $(echo ${GPG_AGENT_INFO} | cut > -d':' -f 2) >/dev/null 2>&1 >
Thanks Mike, I'll try it when I get home. However, I would still like to find out why the ~/.xsession solution does not work . . . especially as I am not using KDM. Another Q: I have more than one boxen and would like to use the same gpg key. Should I just copy over the ~/.gpg directory, or is it more involved than that? For the same purpose would it also be feasible to save .gpg on a USB key and use it on other machines or is there a security risk in doing this? -- Regards, Mick -- gentoo-user@gentoo.org mailing list