Bug 1297872 - mutt should use gpg2
Summary: mutt should use gpg2
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mutt
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matej Mužila
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-12 16:46 UTC by Till Maas
Modified: 2016-09-08 14:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-08 14:51:51 UTC
Type: Bug


Attachments (Terms of Use)

Description Till Maas 2016-01-12 16:46:26 UTC
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):
1.5.24

How reproducible:
always

Steps to Reproduce:
1. create gpg key with gpg2 --gen-key
2. try to sign a message with the key

Actual results:
key is not found in mutt

Expected results:
key should be found

Additional info:

Comment 1 Till Maas 2016-01-15 18:02:10 UTC
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?

Comment 2 Michael J Gruber 2016-05-10 07:38:17 UTC
(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
> default?

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.


Note You need to log in before you can comment on or make changes to this bug.