On Tue, 23 Aug 2016 00:56, linus.luess...@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> */

Attachment: pgpbIkHjul93P.pgp
Description: PGP signature

Reply via email to