[pkg-gnupg-maint] Bug#834633: Info received (Bug#834633: Acknowledgement (gpg: signing failed / agent_genkey failed: Operation cancelled))

Werner Koch wk at gnupg.org
Tue Aug 23 04:10:10 UTC 2016


On Tue, 23 Aug 2016 00:56, linus.luessing at c0d3.blue said:

> * pinentry-curses: "Permission denied" (why?)

strace will help you.  Create a pinentry-wrapper script like

--8<---------------cut here---------------start------------->8---
#!/bin/sh
locale >/tmp/pinentry.err
set >>/tmp/pinentry.err
exec strace -o /tmp/pinentry.trc -e read=0 \ 
    /somewhere/pinentry -d "$@" 2>>/tmp/pinentry.err
--8<---------------cut here---------------end--------------->8---

and put

pinentry-program /somewhere/else/pinentry-wrapper

into gpg-agent.conf.  GnuPG 2.1 also support a "debug-pinentry" option
for gpg-agent.conf which traces the communication between gpg-agent and
pinentry.

> should maybe try installing an alternative (non-broken?) pinentry

> PS: And with switching to pinentry-gtk2 I also had to add a
> "set pgp_use_gpg_agent=yes" to my muttrc to avoid being asked for

I'd suggest to use "set crypt_use_gpgme" instead of the old fashioned
interface.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
 /* Join us at OpenPGP.conf  <https://openpgp-conf.org> */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 162 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20160823/29c91582/attachment.sig>


More information about the pkg-gnupg-maint mailing list