Re: new "crypto" branch providing full PGP/MIME support
authorJameson Rollins <jrollins@finestructure.net>
Fri, 4 Feb 2011 17:24:23 +0000 (09:24 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:52 +0000 (09:37 -0800)
8b/936d43005b1ed5e312dca074c3cc1546b69bc8 [new file with mode: 0644]

diff --git a/8b/936d43005b1ed5e312dca074c3cc1546b69bc8 b/8b/936d43005b1ed5e312dca074c3cc1546b69bc8
new file mode 100644 (file)
index 0000000..7765e3c
--- /dev/null
@@ -0,0 +1,109 @@
+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 8BB09431FB6\r
+       for <notmuch@notmuchmail.org>; Fri,  4 Feb 2011 09:24:42 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 iphaZX7zWhdm for <notmuch@notmuchmail.org>;\r
+       Fri,  4 Feb 2011 09:24:41 -0800 (PST)\r
+Received: from brinza.cc.columbia.edu (brinza.cc.columbia.edu [128.59.29.8])\r
+       by olra.theworths.org (Postfix) with ESMTP id B519F431FB5\r
+       for <notmuch@notmuchmail.org>; Fri,  4 Feb 2011 09:24:41 -0800 (PST)\r
+Received: from servo.finestructure.net\r
+       (adsl-71-131-187-9.dsl.sntc01.pacbell.net [71.131.187.9])\r
+       (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)\r
+       by brinza.cc.columbia.edu (8.14.4/8.14.3) with ESMTP id p14HOb0Z013085\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+       Fri, 4 Feb 2011 12:24:39 -0500 (EST)\r
+Received: from jrollins by servo.finestructure.net with local (Exim 4.72)\r
+       (envelope-from <jrollins@finestructure.net>)\r
+       id 1PlPOd-0006Rs-Md; Fri, 04 Feb 2011 09:24:35 -0800\r
+From: Jameson Rollins <jrollins@finestructure.net>\r
+To: David Bremner <bremner@unb.ca>, notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: new "crypto" branch providing full PGP/MIME support\r
+In-Reply-To: <87zkqcugvt.fsf@zancas.localnet>\r
+References: <4CF15D67.1070904@fifthhorseman.net>\r
+       <87aak08fu8.fsf@servo.finestructure.net>\r
+       <87fwsf9mip.fsf@servo.finestructure.net>\r
+       <87tygl29vu.fsf@servo.finestructure.net>\r
+       <87zkqcugvt.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.5-95-g454bad3 (http://notmuchmail.org) Emacs/23.2.1\r
+       (i486-pc-linux-gnu)\r
+Date: Fri, 04 Feb 2011 09:24:23 -0800\r
+Message-ID: <87tygjiugo.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-No-Spam-Score: Local\r
+X-Scanned-By: MIMEDefang 2.68 on 128.59.29.8\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: Fri, 04 Feb 2011 17:24:42 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Fri, 04 Feb 2011 08:24:38 -0400, David Bremner <bremner@unb.ca> wrote:\r
+> On Wed, 02 Feb 2011 17:18:45 -0800, Jameson Rollins <jrollins@finestructu=\r
+re.net> wrote:\r
+> > Hi, all.  I have pushed a new branch called "crypto" to my notmuch\r
+> > repository [0].  This branch provides full support for PGP/MIME signed\r
+> > and encrypted messages, including emacs UI support.  It has been applied\r
+> > on top of cworth's current master (21e97c50).  It includes the\r
+> > following:\r
+> >=20\r
+>=20\r
+> For a signed and encrypted message, if the signing key can't be found,\r
+> one just gets:\r
+>=20\r
+>  [ multipart/encrypted: decryption error ]\r
+>=20\r
+> which is a bit mystifying.  At least gpg on the command line will\r
+> decrypt the message and print a warning about the signature.\r
+\r
+So I need to look at this closer, but I think this is a GMime problem.\r
+That error message is generated when the GMime decryption code returns\r
+NULL for the decrypted part.  I'll try to make a test case for this, and\r
+file a bug with GMime upstream.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJNTDZJAAoJEO00zqvie6q8k7cQAKUq9EDSc6GSLd31J1TL3Ohb\r
+sGfxFocCrdtryhzgcarsPNtljlFS+DQ/Qrc6VwLETCCHgQ61ck3kz65DqdRthFCw\r
+P5e3Mz0d+faB8eA8g8ITqnehiy602oVUhgsXuJlncATubHg9K9Gvq0Og5K8dB8FL\r
+EzB8Rdx8U+G7iQBWfL1mSj82/9DyFmY3mxrYFZfejHeMnEfWpzplElEMETL1q/RD\r
+fBO1PY/z2XukdfsJ+8R2EQn5V7rggb0hE+wG31bAmGEeBWl7W6vXN6RfOAGuGzKN\r
+sDPfEcoWyvKlSwpELqFUs3sX5/xUvp9bF5O6O7tsWfdloBLJFt6W4Y1VZcN+JR+y\r
+2VLqrO8eYM71UkZMuvkt73fXxr/msEeLyidNW7xQZqWMyGZnt1A3H9VBOiE8ULie\r
+wU/pbr95AlQPQciJNUKmsPN/jxgYLvwCurVwsaVzXMTZtS6PoGGBbusrgk1sXdAS\r
+ViFp1YJ8KfKUiJ/Cu/90UlM9O1/mW68Ne/DuY/qm15CSsoDasHHNCeeENmRC4gM0\r
+zLwYA1jjcGCwJhv0bvOzJuBM90rKKcd3mrL6ymvzKduNADkvrciPzggyp3zrDGt9\r
++mLfzA8oK3BP56ZBk17/xxUF3XseY6wA288yBdYBwiXHAz5ye411388IxDjt1ymp\r
+wZq3qdwyS0n88OJpMjG3\r
+=PBkR\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r