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?

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))))
> +

Reply via email to