On Tue,  1 Nov 2016 10:29, e...@gmx.de said:

> I am not sure, it behaves weird. Sometimes I cannot open messages in
> mutt, it seems to hang. And pressing Ctrl-C releases it and the message

Using mutt with or without "set crypt_use_gpgme" ?

> although all other X11 programs did work. Thinking again... (and see
> below) maybe it's displaying the pin entry window on the locked screen,
> ignoring the actual current $DISPLAY setting?

gpg conveys DISPLAY to gpg-agent so that pinentry can use the expected
display.  However, if there is a still abnother pinentry open on the
otehr display you need to wait for its timeout first.

ssh does not convey DISPLAY to gpg-agent so that you need to tell
gpg-agent about it by using

  gpg-connect-agent updatestartuptty /bye

> the fault of gnupg. Or even gnupg-agent (once you start looking deeper
> and wonder why --no-use-agent is a noop switch now).

Because gpg-agent does all the private key operations.  This has always
been the case for gpgsm; with 2.1 we have changed gpg to work the same.



Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

Attachment: pgpwvPZ1vSnHa.pgp
Description: PGP signature

Reply via email to