[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    command-line gpg not working
From:       stephen <steptan () gmail ! com>
Date:       2013-03-17 21:59:51
Message-ID: CAGyh-BMwxBXATvnYmXgq0QrFwKkcPtbEqBk=ov4BWOPggAccmg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


First, let me say that
/bin/pinentry
and
/usr/bin/pinentry

Both exist and both seem to work.

When I run from the command line
gpg2 --gen-key

Everything goes fine until the passphrase step, where the program skips
ahead and errors:

...
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
You need a Passphrase to protect your secret key.

gpg: problem with the agent: No pinentry
gpg: Key generation canceled.


This process launches gpg-agent --daemon on its own. So I tried killing
that:
gpg-agent --daemon --use-standard-socket

launching my own:
gpg-agent --daemon --pinentry-program=/bin/pinentry

But the behavior is the same.

OS: linux, Fedora 18

# gpg2 --version
gpg (GnuPG) 2.0.19
libgcrypt 1.5.0


# gpg-agent --version
gpg-agent (GnuPG) 2.0.19
libgcrypt 1.5.0

Thanks,

-stephen

[Attachment #5 (text/html)]

<div dir="ltr">First, let me say \
that<div>/bin/pinentry</div><div>and</div><div>/usr/bin/pinentry</div><div><br></div><div>Both \
exist and both seem to work.</div><div><br></div><div>When I run from the command \
line</div><div>

gpg2 --gen-key</div><div><br></div><div>Everything goes fine until the passphrase \
step, where the program skips ahead and \
errors:</div><div><br></div><div>...</div><div><div>Change (N)ame, (C)omment, (E)mail \
or (O)kay/(Q)uit? O</div>

<div>You need a Passphrase to protect your secret key.</div><div><br></div><div>gpg: \
problem with the agent: No pinentry</div><div>gpg: Key generation \
canceled.</div><div><br></div><div><br></div><div style>This process launches \
gpg-agent --daemon on its own. So I tried killing that:</div>

<div style>gpg-agent --daemon --use-standard-socket</div><div style><br></div><div \
style>launching my own:</div><div style>gpg-agent --daemon \
--pinentry-program=/bin/pinentry<br></div><div style><br></div><div style>But the \
behavior is the same.</div>

<div style><br></div><div style>OS: linux, Fedora 18</div><div style><br></div><div \
style><div># gpg2 --version</div><div>gpg (GnuPG) 2.0.19</div><div>libgcrypt \
1.5.0</div></div><div><br></div><div><br></div><div><div># gpg-agent --version</div>

<div>gpg-agent (GnuPG) 2.0.19</div><div>libgcrypt 1.5.0</div><div><br></div><div \
style>Thanks,</div><div><br></div>-stephen</div> </div></div>



_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic