Re: [notmuch] OpenPGP support
authorCarl Worth <cworth@cworth.org>
Thu, 26 Nov 2009 18:41:36 +0000 (10:41 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:44 +0000 (09:35 -0800)
77/214c8a7609482d3fc577480fbd78079426e6c0 [new file with mode: 0644]

diff --git a/77/214c8a7609482d3fc577480fbd78079426e6c0 b/77/214c8a7609482d3fc577480fbd78079426e6c0
new file mode 100644 (file)
index 0000000..5aa992f
--- /dev/null
@@ -0,0 +1,82 @@
+Return-Path: <cworth@cworth.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 C0698431FC2;\r
+       Thu, 26 Nov 2009 10:41:50 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 6LyXGNTftPyB; Thu, 26 Nov 2009 10:41:50 -0800 (PST)\r
+Received: from cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 12FFD431FAE;\r
+       Thu, 26 Nov 2009 10:41:50 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+ notmuch@notmuchmail.org\r
+In-Reply-To: <20091123130009.GA31695@finestructure.net>\r
+References: <20091123130009.GA31695@finestructure.net>\r
+Date: Thu, 26 Nov 2009 10:41:36 -0800\r
+Message-ID: <87zl69qgbj.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: Re: [notmuch] OpenPGP support\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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: Thu, 26 Nov 2009 18:41:50 -0000\r
+\r
+On Mon, 23 Nov 2009 08:00:09 -0500, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
+> Hi, folks.  I know it's a hairy problem, but has anyone started\r
+> looking into OpenPGP support for notmuch?\r
+\r
+I definitely want this.\r
+\r
+I've got message-mode setup to sign my messages automatically when I\r
+start a new compose from within notmuch with 'm'. I did this with the\r
+following in my .emacs:\r
+\r
+; sign messages by default\r
+(add-hook 'message-setup-hook\r
+         (lambda ()\r
+           (mml-secure-message-sign)))\r
+\r
+I'm not sure how to make sure that I also get that when doing a reply\r
+within notmuch. Keith, I think you worked this out, right? What did you\r
+do?\r
+\r
+I'm also interested in automating things like this as much as\r
+possible. I'd much rather people flip one Boolean notmuch-sign-messages\r
+variable then have to code up multiple lambda's within .emacs.\r
+\r
+Meanwhile, the other pieces still needed are automatic signature\r
+verification for multipart/signed messages, and then support for\r
+decrypting GPG-encrypted messages.\r
+\r
+I'm certain that the various mail-handling modes within emacs already\r
+have support for these things, so it's really just a matter of finding\r
+and hooking into that support.\r
+\r
+Of course, if we code some of this up at the library or command-line\r
+level, then the non-emacs interfaces could automatically benefit from it\r
+as well.\r
+\r
+And that same argument applies for viewing of MIME-encoded message\r
+parts---I definitely want support at the command-line interface of\r
+notmuch to at least extract a specific MIME part from a message.\r
+\r
+In one sense, it's unfortunate that I figured out a way to let me view\r
+these parts within emacs without that support in the notmuch\r
+command-line. That definitely took the pressure off me to finish up\r
+coding this piece, (which actually wouldn't be hard at all).\r
+\r
+-Carl\r