#3881: GPGME returns success even if it fails to invoke gpg2
---------------------+----------------------
Reporter: tamo | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: crypto | Version: 1.7.0
Resolution: | Keywords: gpgme
---------------------+----------------------
Comment (by tamo):
Here is a screenshot. The top "[--" part is blank.
"PGP signature successfully verified." is shown in the bottom status line.
{{{
Date: xxxx
From: Sender
To: xxxx
Subject: Subject
[-- Begin signature information --]
[-- End signature information --]
[-- The following data is signed --]
[-- Attachment #1 --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.1K --]
Message body which is modified from the original
[-- Attachment #2: mutt-xxxx.gz --]
[-- Type: application/octet-stream, Encoding: base64, Size: 50K --]
[-- application/octet-stream is unsupported (use 'v' to view this part)
--]
[-- End of signed data --]
- S - 1/55: Sender Subject -- (all)
PGP signature successfully verified.
}}}
I don't have any other places to fix. Everything I suspected turned out to
be ok (even though it was dirty, e.g. several "if(err)" should be
"if(err!=GPG_ERR_NO_ERROR)" according to the gnupg docs, but
GPG_ERR_NO_ERROR is defined as 0). I am not a proper person to investigate
such a complex crypto code. I'll leave it to you.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3881#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent