Yubikey + GNUPG 2.1.14 + GPG Agent Forwarding + Mutt 1.6.0 (gpgme 1.6.0): Not asking for PIN for smartcard on first use of an encryption key

Thomas Glanzmann thomas at glanzmann.de
Wed Jul 20 11:22:13 CEST 2016


Hello,
to answer my own question partly:

* Thomas Glanzmann <thomas at glanzmann.de> [2016-07-20 10:06]:
> Something else I'm wandering about. When I do 'gpg -d test.gpg' on the
> remote machine, I was not prompted for a PIN when the key was not
> prepopulated, than I added 'pinentry-mode loopback' and it asked me on
> the remote machine. But when I do the same thing on my local machine I
> get a graphical prompt using pinentry. So my question is, if a remote
> gpg needs my pin, is possible that my local agent prompts me for the
> pin? If so, how do I configure that?

yes, that is possible, by putting on the remote machine the following in
~/.gnupg/gpg.conf:

pinentry-mode default

However my problem with mutt persists. But now that the above works, I
assume it is a oneline in mutt that is missing.

Cheers,
        Thomas



More information about the Gnupg-users mailing list