[Bug 234095] Mutt/Neomutt mail client can only decrypt with GPG1 but pkg only requires GPG2 as dependency

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 17 12:50:49 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234095

            Bug ID: 234095
           Summary: Mutt/Neomutt mail client can only decrypt with GPG1
                    but pkg only requires GPG2 as dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: autosend at riseup.net

Scenario: FreeBSD 12.0 release, just installed

Essentially, Mutt/Neomutt throws simple error messages, such as 'Could not copy
message', when trying to decrypt a message in a mailbox, with only GPG2
installed.

As soon as 'gnupg1' package is installed, it is able to decrypt messages.

Unfortunately pkg required gpg2 as a dependency, which can create a confusing
situation.

It took quite a while to solve this bug.
Firstly because the line "source /usr/share/doc/mutt/examples/gpg.rc" must be
in muttrc, unlike Linux, for decryption to work.
Secondly because only Neomutt is compiled with debug options, whereas Mutt is
compiled without debug options (but it does make sense, to keep one simple and
one complex, as long as both are available). But once you have debug options
enabled you can add verbose flags to modified GPG calls in your muttrc, and
then get more fine grained understanding of the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list