[PATCH 0/3] smime with some refactoring
authorJani Nikula <jani@nikula.org>
Sun, 18 Jan 2015 10:45:50 +0000 (12:45 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:32 +0000 (14:47 -0700)
9a/8aed793462e3c95f813673622ba5e895c2d642 [new file with mode: 0644]

diff --git a/9a/8aed793462e3c95f813673622ba5e895c2d642 b/9a/8aed793462e3c95f813673622ba5e895c2d642
new file mode 100644 (file)
index 0000000..96ab33e
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <jani@nikula.org>\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 591DC431FC2\r
+       for <notmuch@notmuchmail.org>; Sun, 18 Jan 2015 02:45:46 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.738\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.738 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438, RCVD_IN_DNSWL_LOW=-0.7]\r
+       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 yIJryT1jEIpO for <notmuch@notmuchmail.org>;\r
+       Sun, 18 Jan 2015 02:45:43 -0800 (PST)\r
+Received: from mail-we0-f171.google.com (mail-we0-f171.google.com\r
+       [74.125.82.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E6AA5431FAF\r
+       for <notmuch@notmuchmail.org>; Sun, 18 Jan 2015 02:45:42 -0800 (PST)\r
+Received: by mail-we0-f171.google.com with SMTP id u56so26853794wes.2\r
+       for <notmuch@notmuchmail.org>; Sun, 18 Jan 2015 02:45:41 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
+       :references;\r
+       bh=L0VwelHP5pXh8S0404KlpZyhtOV445O2DVyuvM7iuls=;\r
+       b=cDWwkO9wqDTrvTjC/pJ1euyir/CmnKtDAUIl+MFScqujsvAeaCJRhKT4j2oyYW3UzP\r
+       eXQ6Z5fsEiGPAU/UBfQia5LKqLpW18d2RtcMqPz5DGrT/WwIozUDjJGsV3mzec7xHgpG\r
+       yq09rFQ1a2gF3HMEhCQnysuNG/UdQSp59RjCzMQ7bmCvg90zYJBeAq06UJCTDzr8zcXb\r
+       ZsPpk+27ShU/75yq/l8oZpDWRPhjukcZRhWQmiKm5tkXb31ZS1nHyNQ2o6fAV1bRFRjD\r
+       gl+4jE4R8OJWFQcWrnJ/6PusOGoD6/PLxK6ISJaby8sGHqIjKiqHCFOfgQv+QIHTBV++\r
+       t06w==\r
+X-Gm-Message-State:\r
+ ALoCoQmDcmXlJjAX6rvFsiMNsnB43zWqS4NXMdVWVwNyZmgRJQXxPq6rLtn6nnb421bDBqf1MBkn\r
+X-Received: by 10.194.142.234 with SMTP id\r
+ rz10mr47999116wjb.118.1421577941822;  Sun, 18 Jan 2015 02:45:41 -0800 (PST)\r
+Received: from localhost (mobile-internet-bcee14-89.dhcp.inet.fi.\r
+       [188.238.20.89])\r
+       by mx.google.com with ESMTPSA id ej10sm9888918wib.2.2015.01.18.02.45.40\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Sun, 18 Jan 2015 02:45:41 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: david@tethera.net,\r
+       notmuch@notmuchmail.org\r
+Subject: [PATCH 0/3] smime with some refactoring\r
+Date: Sun, 18 Jan 2015 12:45:50 +0200\r
+Message-Id: <cover.1421577605.git.jani@nikula.org>\r
+X-Mailer: git-send-email 2.1.4\r
+In-Reply-To: <1421568167-18683-3-git-send-email-david@tethera.net>\r
+References: <1421568167-18683-3-git-send-email-david@tethera.net>\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, 18 Jan 2015 10:45:46 -0000\r
+\r
+On Sun, 18 Jan 2015, David Bremner <david@tethera.net> wrote:\r
+> The notmuch-show flags --decrypt and --verify will now also process\r
+> S/MIME multiparts if encountered.  Requires gmime-2.6 and gpgsm.\r
+\r
+Hi David -\r
+\r
+I've had some S/MIME patches laying around since 2013, almost\r
+forgotten... functionally it's the same but I have a couple of\r
+refactoring prep patches that I think makes it a bit nicer.\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+Jani Nikula (3):\r
+  crypto: refactor context creation to facilitate further work\r
+  crypto: make crypto ctx initialization an array\r
+  cli: crypto: S/MIME verification/decryption support\r
+\r
+ crypto.c         | 103 ++++++++++++++++++++++++++++++++++++++++++++++---------\r
+ notmuch-client.h |   7 ++--\r
+ 2 files changed, 91 insertions(+), 19 deletions(-)\r
+\r
+-- \r
+2.1.4\r
+\r