Hi Lars, On Fri, 19 Jun 2015, 13:58:42 +0200, Lars Müller wrote:
Hi,
I'm using mutt and while I'm sending a mail I'm getting asked two times when sending the first mail to enter my pass phrase.
That has not been the case in the past.
Is this a side effect of KDE 5?
no, it exists (at least for me) since gpg-2.1; according to its release notes: With GnuPG 2.1 the need of GPG_AGENT_INFO has been completely removed and the variable is ignored. Instead a fixed Unix domain socket named S.gpg-agent in the GnuPG home directory (by default ~/.gnupg) is used. The agent is also started on demand by all tools requiring services from the agent. This means it is correct, that the GPG_AGENT_INFO variable isn't defined anymore. It appears, though, that at least mutt still expects it to be defined. I just put the following into my ~/.xinitrc: # With GnuPG 2.1 the need of GPG_AGENT_INFO has been completely removed # and the variable is ignored. Instead a fixed Unix domain socket named # S.gpg-agent in the GnuPG home directory (by default ~/.gnupg) is used. # The agent is also started on demand by all tools requiring services # from the agent. # # It appears that mutt, at least, still wants to see the GPG_AGENT_INFO # variable: [ -z "${GPG_AGENT_INFO}" ] && export GPG_AGENT_INFO=$HOME/.gnupg/S.gpg-agent Now mutt happily shows all signed and/or encrypted messages without showing "Enter PGP passphrase:" before.
Cheers,
Lars
HTH, cheers. l8er manfred