On So, Apr 05 2020, Sebastian Fieber 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 :)