diff options
author | Sebastian Fieber <sebastian.fieber@web.de> | 2021-12-24 10:43:52 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-12-24 10:43:52 +0100 |
commit | b6fac9aaaf21c12a25e1cbec9cb8b8d14d2dc8a8 (patch) | |
tree | f50a3eaf22d8e4b0b862982473dd085c85866e54 /test/lisp/emacs-lisp/find-func-tests.el | |
parent | b9015606d169d3a70c0c690e8107b894fe62b7cb (diff) | |
download | emacs-b6fac9aaaf21c12a25e1cbec9cb8b8d14d2dc8a8.tar.gz emacs-b6fac9aaaf21c12a25e1cbec9cb8b8d14d2dc8a8.tar.bz2 emacs-b6fac9aaaf21c12a25e1cbec9cb8b8d14d2dc8a8.zip |
verify signed content in smime encrypted and signed message
* lisp/gnus/gnus-art.el (gnus-mime-display-part): Parse pkcs7
parts (bug#40397).
(gnus-mime-security-verify-or-decrypt):
(gnus-insert-mime-security-button): Handle these parts.
* lisp/gnus/mm-decode.el (mm-verify-function-alist): Add pkcs7
functions.
(mm-decrypt-function-alist): Handle them.
(mm-possibly-verify-or-decrypt): Ditto.
* lisp/gnus/mm-view.el (mm-view-pkcs7-decrypt): Handle pkcs7.
Changes:
- structure the result of mm-dissect-buffer of application/pkcs7-mime
like a multipart mail so there is no loosing of information of
verification and decryption results which can now be displayed by
gnus-mime-display-security
- adjust gnus-mime-display-part to handle application/pkcs7-mime like
multipart/encrypted or multipart/signed
- add dummy entries to mm-verify-function-alist and
mm-decrypt-function-alist so gnus-mime-display-security correctly
displays "S/MIME" and not "unknown protocol"
- don't just check for multipart/signed in
gnus-insert-mime-security-button but also for the pkcs7-mime mimetypes
to print "Encrypted" or "Signed" accordingly in the security button
- adjust mm-possibly-verify-or-decrypt to check for smime-type to ask
wether to verify or decrypt the part and not to always ask to decrypt
- adjust mm-view-pkcs7-decrypt and verify to call mm-sec-status so
success information can be displayed by gnus-mime-display-security
- adjust gnus-mime-security-verify-or-decrypt to handle pkcs7-mime
right with the done changes
Diffstat (limited to 'test/lisp/emacs-lisp/find-func-tests.el')
0 files changed, 0 insertions, 0 deletions