Unable to sign or decrypt with card

Werner Koch wk at gnupg.org
Sun Sep 10 16:52:33 CEST 2017


On Sat,  9 Sep 2017 14:54, philip.jackson at nordnet.fr said:

> Suggestions as to how to check and correct this situation would be
> appreciated.

Newer versions of gpg should print a better error message; at least with
-v.  I guess that your pinentry is not installed or can't be used.

Do you have the option "pinentry-program" in your gpg-agent.conf ?  Then
check that it is really there.

Is the environment variable GPG_TTY set as describen in the manual?

Do you get a prompt when calling "pinentry"?  If so, does it show up a
window after entering "getpin"?

More information about gpg-agent an pinentry interaction can be seen by
putting

--8<---------------cut here---------------start------------->8---
log-file /somewhere/gpg-agent.log
verbose
debug ipc
debug-pinentry
--8<---------------cut here---------------end--------------->8---

into gpg-agent.conf and restarting gpg-agent ("pkill gpg-agent" or
"gpgconf --kill gpg-agent").


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170910/3c69b2e1/attachment.sig>


More information about the Gnupg-users mailing list