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"

-- 
Sam Jorna (wraeth)
GnuPG Key: D6180C26

Attachment: signature.asc
Description: Digital signature

Reply via email to