Red Hat Bugzilla – Bug 1297872
mutt should use gpg2
Last modified: 2016-09-08 10:51:51 EDT
Description of problem:
with gpg 2.1 gpg 1 and gpg 2 do not share the same secret keys anymore. Mutt only uses gpg 1. Therefore keys that are available only in gpg2 cannot be used.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create gpg key with gpg2 --gen-key
2. try to sign a message with the key
key is not found in mutt
key should be found
Replacing the gpg.rc contents from /etc/Muttrc with "set crypt_use_gpgme=yes" fixes this. Why is gpgme not used in Fedora's mutt by default?
(In reply to Till Maas from comment #1)
> Replacing the gpg.rc contents from /etc/Muttrc with "set
> crypt_use_gpgme=yes" fixes this. Why is gpgme not used in Fedora's mutt by
gpg is still gpg 1 by default in Fedora, so there is every reason for mutt to use that default gpg by default, unless it requires specific gpg 2(.1) functionality.
The mess with different secret key stores is entirely due to the (one-)way from gpg 1 to gpg 2.1. That surely is confusing, but it's the user's decision to use gpg2.
Luckily, mutt can use gpg 2.1 with a simple config setting, as you confirmed. In particular, it is ready to use that by default once gpg 2.1 is the default gpg in Fedora.