Re: [gentoo-user] kgpg error with gpg-agent

2006-04-18 Thread Mick
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 21


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



Re: [gentoo-user] kgpg error with gpg-agent

2006-04-18 Thread lordsauronthegreat
On Monday 17 April 2006 02:52 pm, Mike Williams 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 21

Thank you!  That made sense.   (surprisingly)


pgpJlUIAq1OVO.pgp
Description: PGP signature


Re: [gentoo-user] kgpg error with gpg-agent

2006-04-18 Thread Boyd Stephen Smith Jr.
On Monday 17 April 2006 12:26, Mick [EMAIL PROTECTED] wrote 
about '[gentoo-user] kgpg error with gpg-agent':
 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.

 Never mind, I start it by hand from a terminal.  Still, when I launch
 kgpg I get this error:

Sounds like you use kde.  Try modifying your setup to match:
$ cat .kde/env/keychain.rc
#This file should be sourced in an existing shell
#Must support $() and eval
eval $(keychain --eval --clear --quiet --inherit any-once --stop others)

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpEkx79loxsL.pgp
Description: PGP signature


[gentoo-user] kgpg error with gpg-agent

2006-04-17 Thread Mick
Hi All,

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.

Never mind, I start it by hand from a terminal.  Still, when I launch
kgpg I get this error:
==
The use of GnuPG Agent is enabled in GnuPG's configuration file
(/home/michael/.gnupg/gpg.conf).
However, the agent does not seem to be running. This could result in
problems with signing/decryption.
Please disable GnuPG Agent from KGpg settings, or fix the agent.
==

The agent is running as demon according to top:
==
12411 michael   16   0  2208  424  264 S  0.0  0.2   0:00.01 gpg-agent --daemon
==
What gives?  How can I fix this problem so that the agent starts
automatically with XDM (I am not using KDM, but fluxbox) and when I
start kgpg then it recognises that gpg-agent is running?

PS. I've posted a couple of messages lately on this topic but can't
see them on gmane.  Apologies for any duplicates.
--
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kgpg error with gpg-agent

2006-04-17 Thread lordsauronthegreat
On Monday 17 April 2006 10:26 am, Mick wrote:
 Hi All,

 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.

I'm having a similar problem, though I never got as far as to try and 
modify .xsession.

 Never mind, I start it by hand from a terminal.  Still, when I launch
 kgpg I get this error:
 ==
 The use of GnuPG Agent is enabled in GnuPG's configuration file
 (/home/michael/.gnupg/gpg.conf).
 However, the agent does not seem to be running. This could result in
 problems with signing/decryption.
 Please disable GnuPG Agent from KGpg settings, or fix the agent.
 ==

 The agent is running as demon according to top:
 ==
 12411 michael   16   0  2208  424  264 S  0.0  0.2   0:00.01 gpg-agent
 --daemon ==
 What gives?  How can I fix this problem so that the agent starts
 automatically with XDM (I am not using KDM, but fluxbox) and when I
 start kgpg then it recognises that gpg-agent is running?

Same here.  Help would be nice.


pgpteRd4AzsEi.pgp
Description: PGP signature


Re: [gentoo-user] kgpg error with gpg-agent

2006-04-17 Thread Mike Williams
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 21


-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list