unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* encrypting replies to encrypted mail
@ 2014-01-12 19:24 Jameson Graef Rollins
  2014-01-12 20:01 ` Nicolás Reynolds
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Jameson Graef Rollins @ 2014-01-12 19:24 UTC (permalink / raw)
  To: Notmuch Mail

[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]

Hi, folks.  I've been worried for a while about the fact that my notmuch
mua (notmuch-emacs) does not automatically encrypt replies to encrypted
messages.  Recently my fears came true when I accidentally sent in the
clear a reply to an encrypted message that include a full quote of the
original encrypted text.  This is obviously not ok, to the extent that I
would like to now consider this a UI bug in notmuch-emacs.

The question is how do we solve this problem.  The tricky bit is that
notmuch-emacs uses message-mode to compose and send messages, and mml to
handle signing and encrypting, but uses the binary "reply" command to
generate reply bodies.  message-mode therefore does not know if the
original message was encrypted or not.

One proposal would be to add a switch to the reply command that would
insert the mml "signencrypt" header [0] to the top of reply bodies if
the message being replied to was encrypted.  Something like
"--mml-encrypt" or something like that.  It's a fix targeted to a
particular work flow/setup, but it might cover enough use cases to make
it still be worthwhile.

What do people think?  Any other ideas for solving this issue?  I note
that there are other emacs tricks for dealing with encrypting messages
[1], but none that I have found would solve this particular situation.

jamie.

[0] https://www.gnu.org/software/emacs/manual/html_node/mh-e/Sending-PGP.html
[1] http://www.emacswiki.org/emacs/DefaultEncrypt

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2014-04-15 15:26 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-12 19:24 encrypting replies to encrypted mail Jameson Graef Rollins
2014-01-12 20:01 ` Nicolás Reynolds
2014-01-12 20:21   ` Jameson Graef Rollins
2014-01-12 20:50 ` Jani Nikula
2014-04-05  9:18 ` [PATCH] emacs: sign/encrypt replies to signed/encrypted messages Jani Nikula
2014-04-07  6:16   ` Jameson Graef Rollins
2014-04-07  6:40   ` [PATCH] emacs: process crypto for reply only when specified Jameson Graef Rollins
2014-04-13  1:46     ` David Bremner
2014-04-13 11:00       ` Tomi Ollila
2014-04-13 12:56         ` David Bremner
2014-04-13 20:41           ` Tomi Ollila
2014-04-13 22:15             ` David Bremner
2014-04-13 23:37             ` Jameson Graef Rollins
2014-04-14  8:42               ` Tomi Ollila
2014-04-14 12:26                 ` Tomi Ollila
2014-04-14 17:15   ` [PATCH] emacs: sign/encrypt replies to signed/encrypted messages David Bremner
2014-04-14 17:51     ` Jani Nikula
2014-04-14 18:24       ` Jameson Graef Rollins
2014-04-14 18:59         ` David Bremner
2014-04-14 19:40           ` [PATCH] emacs: remove auto-signing of replies to signed messages Jameson Graef Rollins
2014-04-14 19:48             ` Tomi Ollila
2014-04-15 10:02             ` David Bremner
2014-04-15 15:26               ` Jameson Graef Rollins

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).