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