On Apr 14, 2014 10:17 AM, "David Bremner" <david@tethera.net> wrote: > > Jani Nikula <jani@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)))) > > +