GNU bug report logs -
#40397
28.0.50; epg decrypt does not verify signed content in smime encrypted and signed message
Previous Next
Reported by: Sebastian Fieber <sebastian.fieber <at> web.de>
Date: Thu, 2 Apr 2020 23:38:03 UTC
Severity: normal
Tags: patch
Found in version 28.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 40397 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On So, Apr 05 2020, Sebastian Fieber <sebastian.fieber <at> web.de> wrote:
> I just had some time to look into this even further and I noticed that
> the mm-sec buttons for signatures/encryption are not displayed for the
> whole application/pkcs7-mime stuff, too. I am working on a patch to fix
> this.
>
> I think most of the code would look like the one in mml-smime.el (the
> calls to mm-sec-* and getting error/success messages from epg). The
> hard part is to get the mm-security-handle or better the information
> added about the pkcs7-mime signature by the mm-sec-* calls to some
> function that will add these (which is gnus-mime-display-security ?).
> The problem here is that the part is lost when the signature is verified
> as the actual signed content parts will have replace it.
>
> Best regards
> Sebastian
Hey,
here is the resulting more thorough patch replacing the one before.
It's not finished completely as error handling and reporting via
mm-sec-error is still missing in mm-view-pkcs7-[decrypt/verify].
But displaying verification and encryption information via
gnus-mime-display-security does work (at least in the good case).
See the patch for more information.
I'd welcome any comments :)
[0001-fix-bug-40397.patch (text/x-patch, attachment)]
This bug report was last modified 3 years and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.