--- /dev/null
+Return-Path: <bremner@tesseract.cs.unb.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id A4E686DE0B26\r
+ for <notmuch@notmuchmail.org>; Sun, 16 Aug 2015 10:41:49 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.128\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.128 tagged_above=-999 required=5 tests=[AWL=0.118, \r
+ T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id Rr-i3il7wT7v for <notmuch@notmuchmail.org>;\r
+ Sun, 16 Aug 2015 10:41:47 -0700 (PDT)\r
+Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 730936DE01D3\r
+ for <notmuch@notmuchmail.org>; Sun, 16 Aug 2015 10:41:46 -0700 (PDT)\r
+Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
+ (envelope-from <bremner@tesseract.cs.unb.ca>) id 1ZR1w2-0003bh-6P\r
+ for notmuch@notmuchmail.org; Sun, 16 Aug 2015 17:41:30 +0000\r
+Received: (nullmailer pid 26279 invoked by uid 1000); Sun, 16 Aug 2015\r
+ 17:41:19 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: \r
+Date: Sun, 16 Aug 2015 19:41:08 +0200\r
+Message-Id: <1439746876-23654-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 2.5.0\r
+In-Reply-To: <54CA467B.30408@gnome.org>\r
+References: <54CA467B.30408@gnome.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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, 16 Aug 2015 17:41:49 -0000\r
+\r
+It turns out S/MIME encryption requires non-trivial additional code in libgmime. There is no reason to wait for that to support signtures (via emacs+openssl|epg), and verification (via notmuch-cli).\r
+\r
+Here we also test encryption, relying on emacs message-mode facilities.\r
+\r
+(At least) two things could be improved here:\r
+\r
+- we are using some unholy mix of openssl and gpgsm, and it would\r
+ probably be best to get everything working with gpgsm, since\r
+ we are already working with gpg and gpg-agent.\r
+\r
+- It should be possible to do S/MIME decryption on the emacs level using e.g. smime-decrype-region.\r
+\r
+On the other hand, it seems like supporting signature verification\r
+is a step forward.\r
+\r