1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
emacs/lisp/gnus
Sebastian Fieber b6fac9aaaf 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
2021-12-24 10:43:52 +01:00
..
canlock.el
ChangeLog.1
ChangeLog.2 ; Prefer HTTPS in more URLs 2021-12-09 16:26:04 +01:00
ChangeLog.3 ; Prefer HTTPS in more URLs 2021-12-09 16:26:04 +01:00
deuglify.el
gmm-utils.el Mark def* macros for indentation 2021-10-13 21:52:57 +02:00
gnus-agent.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-art.el verify signed content in smime encrypted and signed message 2021-12-24 10:43:52 +01:00
gnus-async.el
gnus-bcklg.el
gnus-bookmark.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-cache.el
gnus-cite.el Revert "Obsolete local set difference functions in favor of seq-difference" 2021-09-29 17:28:02 +02:00
gnus-cloud.el
gnus-cus.el
gnus-dbus.el
gnus-delay.el
gnus-demon.el
gnus-diary.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
gnus-dired.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
gnus-draft.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-dup.el
gnus-eform.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-fun.el ; Adjust overly long docstrings to fit 80 characters 2021-09-26 13:23:57 +02:00
gnus-gravatar.el
gnus-group.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
gnus-html.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-icalendar.el Finish conversion of Gnus from `gnus-define-keys' 2021-10-06 11:57:22 +02:00
gnus-int.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
gnus-kill.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-logic.el
gnus-mh.el
gnus-ml.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-mlspl.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
gnus-msg.el Further gnus-inews-insert-gcc fixes 2021-12-04 23:47:17 +01:00
gnus-notifications.el
gnus-picon.el
gnus-range.el Add a comment about bug#50877 for gnus-set-difference 2021-09-29 17:28:02 +02:00
gnus-registry.el When registering Gnus message ids, guard against no registry 2021-12-06 13:45:27 -08:00
gnus-rfc1843.el Use string-search instead of string-match[-p] 2021-08-09 11:35:56 +02:00
gnus-rmail.el Move rmail-related functions from gnus-util.el to gnus-rmail.el 2021-12-19 11:49:46 +01:00
gnus-salt.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-score.el Prefer nil to (current-time) when either will do 2021-12-05 23:24:08 -08:00
gnus-search.el Fix gnus search by message-id 2021-12-19 06:11:50 +08:00
gnus-sieve.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
gnus-spec.el Use string-search instead of string-match[-p] 2021-08-09 11:35:56 +02:00
gnus-srvr.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-start.el Fix gnus-start.el compilation warning 2021-10-06 11:58:16 +02:00
gnus-sum.el Fix gnus subject matching when subject is empty 2021-12-21 13:47:44 +08:00
gnus-topic.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-undo.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
gnus-util.el Move rmail-related functions from gnus-util.el to gnus-rmail.el 2021-12-19 11:49:46 +01:00
gnus-uu.el Revert "Obsolete local set difference functions in favor of seq-difference" 2021-09-29 17:28:02 +02:00
gnus-vm.el
gnus-win.el
gnus.el Move rmail-related functions from gnus-util.el to gnus-rmail.el 2021-12-19 11:49:46 +01:00
gssapi.el
legacy-gnus-agent.el
mail-source.el Use gnus-error to report mail-source failures 2021-12-05 09:34:15 -08:00
message.el ; Fix documentation of a recently-installed change 2021-12-23 09:55:48 +02:00
mm-archive.el
mm-bodies.el
mm-decode.el verify signed content in smime encrypted and signed message 2021-12-24 10:43:52 +01:00
mm-encode.el
mm-extern.el
mm-partial.el
mm-url.el
mm-util.el Remove no-op calls to decode-char with 'ucs' arg 2021-12-05 19:09:48 +01:00
mm-uu.el * lisp/gnus/mm-uu.el (mm-uu-type-alist): Add markdown-diff/-emacs-sources 2021-09-24 09:44:47 +03:00
mm-view.el verify signed content in smime encrypted and signed message 2021-12-24 10:43:52 +01:00
mml-sec.el ; Minor stylistic fixes found by checkdoc 2021-10-05 02:06:57 +02:00
mml-smime.el Don't inhibit redisplay in the mml* functions 2021-09-21 17:41:32 +02:00
mml.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
mml1991.el Don't inhibit redisplay in the mml* functions 2021-09-21 17:41:32 +02:00
mml2015.el Don't inhibit redisplay in the mml* functions 2021-09-21 17:41:32 +02:00
nnagent.el
nnbabyl.el
nndiary.el Minor nndiary simplificatiuon with time zone 2021-12-16 11:17:26 -08:00
nndir.el
nndoc.el
nndraft.el
nneething.el
nnfolder.el
nngateway.el
nnheader.el Use string-search instead of string-match[-p] 2021-08-09 11:35:56 +02:00
nnimap.el Merge from origin/emacs-28 2021-11-07 18:06:24 +01:00
nnmail.el
nnmaildir.el Handle updates flags when setting flags 2021-09-23 20:54:40 +02:00
nnmairix.el Use string-search instead of string-match[-p] 2021-08-09 11:35:56 +02:00
nnmbox.el
nnmh.el
nnml.el
nnnil.el
nnoo.el
nnregistry.el
nnrss.el Prefer format-time-string to current-time-string 2021-12-16 11:17:26 -08:00
nnselect.el Fix gnus search by message-id 2021-12-19 06:11:50 +08:00
nnspool.el
nntp.el Don't have nntp-report signal an error 2021-11-08 11:29:47 -08:00
nnvirtual.el ; Fix some recent fixes to doc strings 2021-09-26 16:50:11 +03:00
nnweb.el
score-mode.el
smiley.el
smime.el
spam-report.el Use string-replace instead of replace-regexp-in-string 2021-08-08 19:25:26 +02:00
spam-stat.el
spam-wash.el
spam.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00