Re: [PATCH] emacs: process crypto for reply only when specified
authorJameson Graef Rollins <jrollins@finestructure.net>
Sun, 13 Apr 2014 23:37:18 +0000 (16:37 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:01:34 +0000 (10:01 -0800)
16/e82c1ecae51ec06214f309f89318f006ab32e0 [new file with mode: 0644]

diff --git a/16/e82c1ecae51ec06214f309f89318f006ab32e0 b/16/e82c1ecae51ec06214f309f89318f006ab32e0
new file mode 100644 (file)
index 0000000..df1c69e
--- /dev/null
@@ -0,0 +1,112 @@
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 40C66431FBD\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Apr 2014 16:37:31 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id tKZKSOMYMTE0 for <notmuch@notmuchmail.org>;\r
+       Sun, 13 Apr 2014 16:37:27 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 4B7EF431FBC\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Apr 2014 16:37:27 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id D577866E00C2;\r
+       Sun, 13 Apr 2014 16:37:26 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (cpe-107-185-189-81.socal.res.rr.com\r
+       [107.185.189.81]) (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id 068B066E01A1;\r
+       Sun, 13 Apr 2014 16:37:22 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 410E8601C1; Sun, 13 Apr 2014 16:37:21 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, David Bremner <david@tethera.net>,\r
+       Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH] emacs: process crypto for reply only when specified\r
+In-Reply-To: <m2fvlhklng.fsf@guru.guru-group.fi>\r
+References: <1396689486-19232-1-git-send-email-jani@nikula.org>\r
+       <1396852814-10338-1-git-send-email-jrollins@finestructure.net>\r
+       <8761me3st5.fsf@zancas.localnet>\r
+       <m24n1xa3yu.fsf@guru.guru-group.fi>\r
+       <87ob05xu9g.fsf@zancas.localnet>\r
+       <m2fvlhklng.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.17+174~gaa1f476 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 13 Apr 2014 16:37:18 -0700\r
+Message-ID: <87ioqcajip.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 13 Apr 2014 23:37:31 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+On Sun, Apr 13 2014, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+>> Perhaps people with no ability to sign are less likely to have\r
+>> "notmuch-crypto-process-mime" set?  Or we can add another configuration\r
+>> variable initialized from notmuch-crypto-process-mime, but allowing\r
+>> people to shut this off.\r
+>\r
+> Well, I set notmuch-crypto-process-mime to nil -- it still wants to\r
+> sign the message and runs gpg...\r
+\r
+Was my followup patch applied?  My patch controls the insertion of the\r
+mml tag depending on whether or not notmuch-crypto-process-mime is t or\r
+not.  If notmuch-crypto-process-mime is nil the tag won't be added.\r
+Presumably you either did not have that patch applied, or had manually\r
+set it to t?\r
+\r
+In any event, if the mml tag is present, it's no longer in notmuch's\r
+hands; emacs's mail processing is handling things and calling gpg-agent\r
+to sign/encrypt the message.\r
+\r
+Can you clarify what exactly your situation was?\r
+\r
+Presumably people who have not set up any crypto processing should not\r
+have notmuch-crypto-process-mime set t.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iQIcBAEBCAAGBQJTSx+vAAoJEO00zqvie6q8Ya0P/ibrNZrVbSkWSvT6lBCs2lJZ\r
+Tx0hwDTGFtI78s3H1W++lEqP6rOH5ejVkL8/+8Ea8RvtmxhtZG0TojW+ALbM255O\r
+3Fs51BmBBlLXfxAIzVLYL99jMFjGPcGlT9H6ivmkl4b12hETWvfXuvXB4l98CkF5\r
+UZMCcj7dYe7OsIXRYgNdQvWQsZm95lc6jlRJE3J9UAGTMoHKFhuZW8KE+0zM2dG2\r
+8sDotwTiCYvKqGtwEOCskx66p1WfAQTrfh5rET/krfy6Bi5d9a0ajG4p3Cq44HoG\r
+z1s8ZSlS52AN5JjMwqwdwt9MRVcoOajOhFxlsLh4SqrWHyI+J+CnivleLReX7z+t\r
+J7ZigsRaur2shLoAdXFFyTtuYIoxu2FgBMFol4i7yfXAuJ7Uwcqdy1FDbGsqXTWT\r
+GhokZM/X+9NDNaJpPAbpuWEFMmsXcUrOc9nSk4DxFI3hzn+iX99Hbs4kzea3dE72\r
+ITQyl/rqHhuo7ol5zNiRnTdjS3gGb0YLgURbOYCXRYBSryQV8JNnWp/MKzn156GV\r
+UVy2Xv/A1CIeIbRCUt+2oEteb5T5mhGKocDOzOiqF7qacY2sk5rN0MHJ6+3pxydK\r
+8lttjitK2fLnouShXHCVB+EZ/UOwTjaCzRpNjYo89VMyPjc+pVKXPsZvDwnCUyEX\r
+oicxewxCTJanNMMGlTG5\r
+=UGPR\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r