l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Dec 17 14:21

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] gpg-agent issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] gpg-agent issues

I'm trying to get gpg-agent running on my FC3 laptop so that I don't have to 
type in my passphrase each time I send out an e-mail.  Unfortunately, when I 
try to start gpg-agent with the command:

$ gpg-agent

I get the following error message:

gpg-agent: can't connect to '/home/richard/.gnupg/S.gpg-agent': No such file 
or directory
gpg-agent: no gpg-agent running in this session

When I execute

$ ps aux | grep gpg

I see:

richard 7975 0.0 0.1 5632 860 ? Ss Dec15 0:00 gpg-agent --daemon

which makes me think that a gpg-agent actually is running.

When, for kicks and giggles, I try to execute:

$ gpg-agent --daemon

I get this error message:

can't connect to '/home/richard/.gnupg/log-socket': No such file or directory
GPG_AGENT_INFO=/tmp/gpg-4p6U8v/S.gpg-agent:10175:1 export GPG_AGENT_INFO;

...even though there is a file in /home/richard/.gnupg called log-socket.  
However, that file appears to be empty.  Also, when I again execute

$ ps aux | grep gpg

after invoking the gpg-agent daemon, I see another instance is running.

I don't know for sure, but my guess is that when I invoke the daemon, it 
creates a temporary file in the /tmp directory containing information about 
the session.  It then puts that information into the log-socket file in 
the .gnupg subdirectory.  Then when I attempt to invoke gpg-agent, it reads 
that information from the log-socket file.  The reason it's looking for the 
S.gpg-agent file in the .gnupg directory instead of the /tmp/whatever 
directory is because the log-socket file was not properly created, so the 
proper path was not found.  Am I right about this?

How can I fix this?  I've messed with permission settings on log-socket, on 
the .gnupg subdirectory (not much, since I want to keep it secure), and on 
the /tmp subdirectory, but that doesn't seem to help.  And a search of Google 
brings up very little that is relevant or is written in German (which I don't 
read, unfortunately).

Anyone have any ideas?

Richard S. Crawford
AIM:  Buffalo2K    Yahoo: rscrawford
"Whatever does not kill me makes me stranger."

Attachment: pgp00012.pgp
Description: PGP signature

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.