summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDamien Cassou <damien@cassou.me>2018-03-27 16:57:51 +0200
committerNicolas Petton <nicolas@petton.fr>2018-04-04 20:32:28 +0200
commit29006a6fd8e989013098b0281aa0b9efe13feb1d (patch)
treec54269bbdc5be50dae63a66be8b60aaa0be29b48 /etc
parent447da5b0d49b7aa14fa5d6969015770fdf9b9f92 (diff)
downloademacs-29006a6fd8e989013098b0281aa0b9efe13feb1d.tar.gz
Detect if a message can be encrypted and add an MML tag
* lisp/gnus/message.el (message-all-recipients): Return a list of pairs, one for each recipient in To, Cc, Bcc. (message-all-epg-keys-available-p): Check that there is a public key in epg for each recipient of the current message. (message-sign-encrypt-if-all-keys-available): Add MML tag to sign and encrypt current message if there is a public key for every recipient in current message. * test/lisp/gnus/message-tests.el (message-all-recipients): Test for message-all-recipients.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index baff9664cf1..02b31ecff47 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -337,6 +337,14 @@ or NextCloud hosted files and directories.
It was obsolete since Emacs 22.1, replaced by customize.
+** Message
+
++++
+*** Messages can now be systematically encrypted
+when the PGP keyring contains a public key for every recipient. To
+achieve this, add 'message-add-encrypt-tag-if-can-encrypt' to
+'message-send-hook'.
+
* New Modes and Packages in Emacs 27.1
+++