Re: gpg: can't query passphrase in batch mode (after upgrade of Mutt)

2019-06-18 Thread Patrice Levesque

> If you see this mail PGP-signed, then your advice has helped, thank
> you!

Mail was PGP-signed and my own mutt recognized it as such.



-- 
· Patrice Levesque
· http://ptaff.ca/
· mutt.wa...@ptaff.ca
--



signature.asc
Description: Digital signature


Re: gpg: can't query passphrase in batch mode (after upgrade of Mutt)

2019-06-17 Thread Victor Sudakov
Kevin J. McCarthy wrote:
> >I swear I did not modify the vanilla /usr/local/share/examples/mutt/gpg.rc
> >(and frankly did not even look inside this file for many years).
> >
> >How can I fix this new trouble with signing?
> 
> If you are using a pre-2.1 version of gpg and aren't using an agent, 

Yes, I use gnupg1, no agent.

> try unset pgp_use_gpg_agent

I put it after "source /usr/local/share/examples/mutt/gpg.rc", correct?

If you see this mail PGP-signed, then your advice has helped, thank you!
> 
> 1.12 switched this on by default, due to the increasing prevalent use of 
> gpg 2.1.

I see.



-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/


signature.asc
Description: PGP signature


Re: gpg: can't query passphrase in batch mode (after upgrade of Mutt)

2019-06-17 Thread Kevin J. McCarthy

On Tue, Jun 18, 2019 at 12:31:34AM +0700, Victor Sudakov wrote:

I swear I did not modify the vanilla /usr/local/share/examples/mutt/gpg.rc
(and frankly did not even look inside this file for many years).

How can I fix this new trouble with signing?


If you are using a pre-2.1 version of gpg and aren't using an agent, try
 unset pgp_use_gpg_agent

1.12 switched this on by default, due to the increasing prevalent use of 
gpg 2.1.


--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


gpg: can't query passphrase in batch mode (after upgrade of Mutt)

2019-06-17 Thread Victor Sudakov
Dear Colleagues,

I've been using gpg with Mutt for many years (like maybe 20 years) with
a simple line in muttrc: "source /usr/local/share/examples/mutt/gpg.rc"

However, after the recent upgrade to Mutt 1.12.0 (from the FreeBSD ports
collection) I started getting this error when trying to sign messages:

pg: can't query passphrase in batch mode
gpg: no default secret key: bad passphrase
gpg: signing failed: bad passphrase
Press any key to continue...

I swear I did not modify the vanilla /usr/local/share/examples/mutt/gpg.rc
(and frankly did not even look inside this file for many years).

How can I fix this new trouble with signing?


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/