From d5ae874cc6ace514be50b471428cc82b7fe27dc2 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Tue, 3 Mar 2015 09:56:11 +1600 Subject: [PATCH] Re: [PATCH 3/3] cli: crypto: S/MIME verification/decryption support --- 98/83a18b8798096eaf6df3a1ecd22ff2fbddfb0c | 107 ++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 98/83a18b8798096eaf6df3a1ecd22ff2fbddfb0c diff --git a/98/83a18b8798096eaf6df3a1ecd22ff2fbddfb0c b/98/83a18b8798096eaf6df3a1ecd22ff2fbddfb0c new file mode 100644 index 000000000..9769bca67 --- /dev/null +++ b/98/83a18b8798096eaf6df3a1ecd22ff2fbddfb0c @@ -0,0 +1,107 @@ +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 65400429E34 + for ; Mon, 2 Mar 2015 10:15:15 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.138 +X-Spam-Level: +X-Spam-Status: No, score=0.138 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438, 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 yAPjqT-Go+mm for ; + Mon, 2 Mar 2015 10:15:12 -0800 (PST) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 74CEB414BEF + for ; Mon, 2 Mar 2015 09:58:54 -0800 (PST) +Received: from smtp01.caltech.edu (localhost [127.0.0.1]) + by filter-return (Postfix) with ESMTP id 79EB0A0BBF; + Mon, 2 Mar 2015 09:56:13 -0800 (PST) +X-Spam-Scanned: at Caltech-IMSS on smtp01.caltech.edu by amavisd-new +Received: from finestructure.net (dhcp-123-176.caltech.edu [131.215.123.176]) + (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) + (No client certificate requested) (Authenticated sender: jrollins) + by smtp-server.its.caltech.edu (Postfix) with ESMTPSA id 17A5CA0BBE; + Mon, 2 Mar 2015 09:56:13 -0800 (PST) +Received: by finestructure.net (Postfix, from userid 1000) + id 0D4BA6014D; Mon, 2 Mar 2015 09:56:12 -0800 (PST) +From: Jameson Graef Rollins +To: David Bremner , Jani Nikula , + notmuch@notmuchmail.org +Subject: Re: [PATCH 3/3] cli: crypto: S/MIME verification/decryption support +In-Reply-To: <87vbk4roxw.fsf@maritornes.cs.unb.ca> +References: <1421568167-18683-3-git-send-email-david@tethera.net> + + + <87vbk4roxw.fsf@maritornes.cs.unb.ca> +User-Agent: Notmuch/0.19+29~g486e839 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Mon, 02 Mar 2015 09:56:11 -0800 +Message-ID: <871tl7jnb8.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +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, 02 Mar 2015 18:15:15 -0000 + +--=-=-= +Content-Type: text/plain + +On Sun, Jan 18 2015, David Bremner wrote: +> Jani Nikula writes: +> +>> The notmuch-show flags --decrypt and --verify will now also process +>> S/MIME multiparts if encountered. Requires gmime-2.6 and gpgsm. +>> +>> Based on work by Jameson Graef Rollins . +>> +> +> I tend to agree this version is a bit easier to read, if a bit longer. +> Jamie, do you have any objections? +> +> I haven't tried this version with the tests in this thread. + +So sorry to take so long to respond. If Jani has a cleaner version of +the patch then by all means, please let it supersede what I have done. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAEBCAAGBQJU9KQ7AAoJEO00zqvie6q8r4YP/3UtQlROhFHJFiCR0pzCYcMJ +aa6ruLieQSzvk5HQc+Td6YQxeb6LYKZsODQdxuOovcaENN9Hp7MF67ArlgfGis4s +gN0VS11vpW2ViH71vX7uJhVTOCLw8pwGsf7TD/VeMAIk9WF3iydpv/2zkwYR8/m3 +Na6ojYHtkgAbLsilA9hzfVZmIzZ97Ijuaehugi68mhrAR7gHSgDoJnYYKp6EDBt+ +HvczWaOCeJjCMJ8sn/FhSgv8g3uRH+6xWht333qX5GHPCmteVqzhR7brk5gYg2dj +iAZinhEZTLtQ2dl+3peHB9fxk6NGCPFI5CgG41EmGkBK103kntF0ueIgY6cVqvDF +5IFF+eHNQai0BUHzfMwp4lj6fIIsR5tIT+TZeCIuDdOJ6QujfFhYMfPrQuKFvczy +lebHDtGquAvsbYSIQlck75Qq7Me2x/Uh/xAkiLwhN+rcsWRJHDZKjcOIu7DKVaPD +TOatCdAYPbORAZtyIrOZiDHNBfFq8pPH2c7+/9INZsld7cO0J6tBVIVgu6vyUsBa +whIBolU/ToB5TNDn9+Sfdv0oYbFj2hvN8npmZbi8/KB74U80x0SgEda2yunEEmHg +q/6yrhDUaOyXN6KXZ7nLoJMujwXW0uxUR8hPzUcyaUazFSxrqAnC75n8oJ62eHQ1 +CHsR0mTKT7M+PHXn6tFD +=eUz6 +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2