View previous topic :: View next topic |
Author |
Message |
jrtayloriv Tux's lil' helper
Joined: 31 Dec 2004 Posts: 149 Location: N. Idaho
|
Posted: Mon Jan 07, 2008 10:16 pm Post subject: gpg / gpg-agent -- Can't connect to /root/.gnupg/S.gpg-agent |
|
|
I am having trouble with gpg & gpg-agent. I ran
And right after I input my name and email, it crashes with the following message:
Quote: |
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
You need a Passphrase to protect your secret key.
can't connect to `/root/.gnupg/S.gpg-agent': No such file or directory
gpg-agent[23478]: command get_passphrase failed: Operation cancelled
gpg: cancelled by user
gpg: Key generation canceled.
|
Any idea how I might fix this?
Thanks,
jrtayloriv |
|
Back to top |
|
|
jrtayloriv Tux's lil' helper
Joined: 31 Dec 2004 Posts: 149 Location: N. Idaho
|
Posted: Tue Jan 08, 2008 2:04 am Post subject: |
|
|
I'm not sure why, but running this:
Code: |
eval 'gpg-agent --daemon'
|
and then adding this into a file called /root/.gnupg/gpg-agent.conf:
Code: |
pinentry-program /usr/bin/pinentry
no-grab
default-cache-ttl 1800
|
Seemed to work OK. I used touch to create a file called /root/.gnupg/S.gpg-agent.
I still get an error saying:
Code: |
can't connect to `/root/.gnupg/S.gpg-agent': Connection refused
|
But it generated a key for me...although I'm a bit uncomfortable having this program just "kind of" working.
Any suggestions as to what might be causing this? |
|
Back to top |
|
|
noisebleed Apprentice
Joined: 03 Oct 2006 Posts: 177 Location: Porto, Portugal
|
Posted: Mon Jan 21, 2008 7:14 pm Post subject: |
|
|
Hi. Used
Code: |
# eval 'gpg-agent --daemon --use-standard-socket'
|
and it created the socket file:
Code: | # ls -la S*
# srwxr-xr-x 1 root root 0 2008-01-21 19:08 S.gpg-agent
|
Have you already solved your problem?
Just one question: why the touch thing? |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Tue Jan 22, 2008 2:04 am Post subject: |
|
|
What I do not understand is that you have to run this command manually?!?! Shouldn't this happen automatically?
Greetz
swimmer |
|
Back to top |
|
|
|