From cf2b97fd0dca7bda388d94656b5468691d9b812d Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Tue, 15 Apr 2014 11:24:40 +1700 Subject: [PATCH] Re: [PATCH] emacs: sign/encrypt replies to signed/encrypted messages --- db/2025df200fc7206bf693271147099264f5c831 | 111 ++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 db/2025df200fc7206bf693271147099264f5c831 diff --git a/db/2025df200fc7206bf693271147099264f5c831 b/db/2025df200fc7206bf693271147099264f5c831 new file mode 100644 index 000000000..de601fe64 --- /dev/null +++ b/db/2025df200fc7206bf693271147099264f5c831 @@ -0,0 +1,111 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 29BA5431FCB + for ; Mon, 14 Apr 2014 11:24:57 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id wAXCL8NBpWv4 for ; + Mon, 14 Apr 2014 11:24:53 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 4E235431FC9 + for ; Mon, 14 Apr 2014 11:24:53 -0700 (PDT) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id 1632A32810C; + Mon, 14 Apr 2014 11:24:47 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (cpe-107-185-189-81.socal.res.rr.com + [107.185.189.81]) (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id C7155328184; + Mon, 14 Apr 2014 11:24:45 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 7FA8C60123; Mon, 14 Apr 2014 11:24:42 -0700 (PDT) +From: Jameson Graef Rollins +To: Jani Nikula , David Bremner +Subject: Re: [PATCH] emacs: sign/encrypt replies to signed/encrypted messages +In-Reply-To: + +References: <87a9f1c8aq.fsf@servo.finestructure.net> + <1396689486-19232-1-git-send-email-jani@nikula.org> + <8738hf25pa.fsf@maritornes.cs.unb.ca> + +User-Agent: Notmuch/0.17+197~g37a1196 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Mon, 14 Apr 2014 11:24:40 -0700 +Message-ID: <87lhv7sr9z.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +Cc: Notmuch Mail +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 14 Apr 2014 18:24:57 -0000 + +--=-=-= +Content-Type: text/plain + +On Mon, Apr 14 2014, Jani Nikula wrote: +> On Apr 14, 2014 10:17 AM, "David Bremner" wrote: +>> +>> Jani Nikula 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). + +I'd be fine with that as well. I auto-sign all outgoing mail regardless +of the signature status of what I'm replying to, so that's fine. +Auto-encrypting replies to encrypted mail is actually a security issue, +whereas auto-signing is not, so as long as we have the auto-encrypting +always enabled that should ok. + +David, did you want to handle the patch? If not let me know and I'll do +it. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAEBCAAGBQJTTCfoAAoJEO00zqvie6q8+aYP/3Q/1DGHJ5A7KD6Io3XNIdEC +yrcHOzzWOiiEbKaheThvKvVc9tf/QwG8OLvFciPx78xORHETA0MJ5Cw+HPHurRY8 +rNSLuaZbsLu0wwEC9TX+vdc53GzTbB1HtfkhYUVPE01OfERpSrLOvm4ytj7TWWwa +h556/427oLh0SA31UeVtTDvJFS95uWK3VKBUjfwFT58KsTGGlxRmoqchGsnvy9Aq +SLnB06TLE7Jn42VzHViZ3NlMrcN1SEu+QDGdtrnqumTN63eFZZ/FLDHKYKiWACvZ +qHaoU7pT8BcOlOzNpYRnab6+9xOfkFzGseyusTVURpxOOjiAezlWcE58n1nKIqdf +49tYfXjLhJrFWGonmxbzeZwMNPiJvTFUIoOcRYPosXg0mhr+nG7jpnTOiG97Nolj +qTUSLYig6TvJoAO1f5uE3l9JhdAcaiUcj3Pma21l34VgedDs1Jnc/23IndhderVw +Es+8HdWPZrBiufMg4Qz42x932XbLu8nvieXJoZZK8SrN0xKOjxmsb/8i2Snoq2QU +8lRyHULf4ZwjIxg9TDjGKxgsYqQ6jWZvXVioGliPSkeTjCC2HyRrrZ1Omnc2oK6e +Sz/632J2IqlB/uWCqqU6vkgOwmcQ5tZ+KK7t37bhXFXOMMZTw7fkjCUchBd7tfu1 +51CTI0+XSvjPzQjlstOc +=QIfq +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2