]> git.notmuchmail.org Git - notmuch/commit
emacs: sign/encrypt replies to signed/encrypted messages
authorJani Nikula <jani@nikula.org>
Sat, 5 Apr 2014 09:18:06 +0000 (12:18 +0300)
committerDavid Bremner <david@tethera.net>
Sun, 13 Apr 2014 01:37:03 +0000 (22:37 -0300)
commit30a0ed197efae461912138fb4e5f70849124fee3
treebfb6357c913904104220fdb8a67148da7bcef6fa
parentb8327ab483a3f018b9c7c72502f2b30f8a80ccbe
emacs: sign/encrypt replies to signed/encrypted messages

This is a simple approach to improving security when replying to
signed or encrypted messages. If the message being replied to was
signed, add mml tag to sign the reply. If the message being replied to
was encrypted, add mml tag to sign and encrypt the reply.

This may need configuration; I for one might want to encrypt replies
to encrypted messages, but not always sign replies to signed messages.

This still includes a slight bug: if any mml tags are added, they are
included in the region containing the quoted parts. Killing the region
will kill the mml tags too.
emacs/notmuch-mua.el