On Fri, Nov 18, 2016 at 08:20:17AM +1100, Sam Jorna wrote: > On Thu, Nov 17, 2016 at 10:08:08PM +0100, Frank Steinmetzger wrote: > > Hey fellows, > > > > apparently, gnupg 2.1 does not recognise my passphrase anymore if I enter it > > in mutt’s terminal: I compose a signed mail in mutt and send it off. Thus I > > am asked for the passphrase first on the terminal (as it has always been), > > and then a second time in a graphical pinentry window. > > > > The latter did not happen with gnupg 2.0 (double-checked by downgrading). > > Does anyone have a hint what’s wrong here and how I can fix this? > > I just recently resolved this myself. You need to add > > --pinentry-mode loopback > > to the relevant commands in your muttrc: > > set pgp_decode_command="gpg --pinentry-mode loopback %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" > set pgp_verify_command="gpg --pinentry-mode loopback --no-verbose --batch --output - --verify %s %f" > set pgp_decrypt_command="gpg --pinentry-mode loopback --passphrase-fd 0 --no-verbose --batch --output - %f" Just re-read this and realised it sounds like I meant the only ones you needed it on were those three. I believe the option needs to be added to those three plus "pgp_sign_command" and "pgp_clearsign_command". Others I believe won't ask for a passphrase and so shouldn't need the option. -- Sam Jorna GnuPG Key: D6180C26