From: Karl Fogel <kfogel@red-bean.com>
To: ding@gnus.org
Subject: [PATCH] Encrypt replies to encrypted messages by default.
Date: Sun, 02 Jan 2011 20:43:22 -0500 [thread overview]
Message-ID: <878vz2oj7p.fsf@red-bean.com> (raw)
(I recently sent this patch to emacs-devel@ [1], then thought maybe I
should post it here instead.)
The patch below causes replies to encrypted messages to also be
encrypted by default. Justification: it's better to accidentally
encrypt than to accidentally *not* encrypt. Especially with email,
where a reply may quote parts of the original mail (which was sent
encrypted, thus raising the likelihood that quoted excerpts would be of
a sensitive nature).
It happened to me recently: I accidentally sent a reply in plaintext,
quoting parts of a rather sensitive mail, because I'd unconsciously
expected Gnus to automatically encrypt the reply. That incident started
me looking for some way to control this behavior. I was very glad to
find `gnus-message-replyencrypt' -- I thought I was going to have to
implement it -- but was surprised to find it set to nil by default.
(Note the same logic does not apply to `gnus-message-replysign', so I
haven't changed that variable's default in this patch.)
Does this patch seem like a good idea?
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0796918..aff0071 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-02 Karl Fogel <kfogel@red-bean.com>
+
+ * gnus-msg.el (gnus-message-replyencrypt): Default to `t'.
+
2011-01-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index d77abfa..6dfdb4c 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -244,7 +244,7 @@ See also the `mml-default-sign-method' variable."
:type 'boolean)
(defcustom gnus-message-replyencrypt
- nil
+ t
"Automatically encrypt replies to encrypted messages.
See also the `mml-default-encrypt-method' variable."
:group 'gnus-message
Thanks,
-Karl
[1] http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00078.html
next reply other threads:[~2011-01-03 1:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-03 1:43 Karl Fogel [this message]
2011-01-03 4:49 ` Lars Magne Ingebrigtsen
2011-01-03 7:30 ` Reiner Steib
2011-01-03 18:01 ` Karl Fogel
2011-01-03 22:18 ` Reiner Steib
2011-01-03 22:23 ` Karl Fogel
2011-01-04 0:03 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878vz2oj7p.fsf@red-bean.com \
--to=kfogel@red-bean.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).