[neomutt-devel] neomutt with gpg2 -> gpg2.rc?

Guillaume Brogi gui-gui at netcourrier.com
Wed Nov 30 21:12:01 CET 2016

On Wed, Nov 30, 2016 at 09:05:10PM +0100, Sven Guckes wrote:
> background: a friend of mine is using
> debian testing on his maschine now and
> upgrading mutt he got a neomutt installed.
> and suddenly his crypto (encrypting,signing)
> with gpg (2.1.15) does not work any more. :-(
> i am still trying to install gpg2 in
> my $HOME - so i am not using it yet. :-/
> (the installation of three additional
> libraries is still giving me troubles.)
> however, is anyone of you using
> neomutt with gpg2 yet?
> does gpg.rc need to be adjusted
> to make gpg 2.1.x work with it?
> any tips?  or maybe a link to
> some gpg2.rc to download?
> Sven


I'm using gpg2 (2.1.16 to be exact, on archlinux if that's relevant) and
mutt interfaces with it through gpgme, so it's not exactly your use
case. However, I've had no trouble, so if your friend doesn't mind
gpgme, here is the relevant part of my config (only the first two lines
are really needed I think):

set crypt_use_gpgme = yes
set pgp_sign_as = 5A145EA24232980E243A2DAC37CD42644BBC5F03  <- put your keyid here
set pgp_encrypt_self = yes
set crypt_verify_sig = yes
set crypt_autosign = yes
set crypt_opportunistic_encrypt = yes
message-hook '!~g !~G ~b "^-----BEGIN PGP (SIGNED )?MESSAGE"' 'exec check-traditional-pgp'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20161130/c911f108/attachment.sig>

More information about the neomutt-devel mailing list