[PATCH] emacs: sign/encrypt replies to signed/encrypted messages

Jani Nikula jani at nikula.org
Mon Apr 14 10:51:35 PDT 2014


On Apr 14, 2014 10:17 AM, "David Bremner" <david at tethera.net> wrote:
>
> Jani Nikula <jani at nikula.org> writes:
> > +(defun notmuch-mua-reply-crypto (parts)
> > +  (loop for part in parts
> > +     if (notmuch-match-content-type (plist-get part :content-type)
"multipart/signed")
> > +       do (mml-secure-message-sign)
>
> How do people feel about disabling/removing the previous two lines?
>

I'd be fine with that (see the commit message).

Jani.

> It's less obvious to me that you always want to sign in reply to a
> signed message (probably you want to unconditionally always sign in that
> case).  As written this causes some inconvenience  for users that have
> notmuch-crypto-process-mime=t to verify inbound signatures, but don't
> necessarily have the ability to sign outbound mail.
>
>
> > +     else if (notmuch-match-content-type (plist-get part
:content-type) "multipart/encrypted")
> > +       do (mml-secure-message-sign-encrypt)
> > +     else if (notmuch-match-content-type (plist-get part
:content-type) "multipart/*")
> > +       do (notmuch-mua-reply-crypto (plist-get part :content))))
> > +
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140414/062117f7/attachment.html>


More information about the notmuch mailing list