Re: [PATCH] cli: crypto: tell gmime to use gpg-agent
[notmuch-archives.git] / 77 / 214c8a7609482d3fc577480fbd78079426e6c0
1 Return-Path: <cworth@cworth.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id C0698431FC2;\r
6         Thu, 26 Nov 2009 10:41:50 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id 6LyXGNTftPyB; Thu, 26 Nov 2009 10:41:50 -0800 (PST)\r
11 Received: from cworth.org (localhost [127.0.0.1])\r
12         by olra.theworths.org (Postfix) with ESMTP id 12FFD431FAE;\r
13         Thu, 26 Nov 2009 10:41:50 -0800 (PST)\r
14 From: Carl Worth <cworth@cworth.org>\r
15 To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
16  notmuch@notmuchmail.org\r
17 In-Reply-To: <20091123130009.GA31695@finestructure.net>\r
18 References: <20091123130009.GA31695@finestructure.net>\r
19 Date: Thu, 26 Nov 2009 10:41:36 -0800\r
20 Message-ID: <87zl69qgbj.fsf@yoom.home.cworth.org>\r
21 MIME-Version: 1.0\r
22 Content-Type: text/plain; charset=us-ascii\r
23 Subject: Re: [notmuch] OpenPGP support\r
24 X-BeenThere: notmuch@notmuchmail.org\r
25 X-Mailman-Version: 2.1.12\r
26 Precedence: list\r
27 List-Id: "Use and development of the notmuch mail system."\r
28         <notmuch.notmuchmail.org>\r
29 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
30         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
31 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
32 List-Post: <mailto:notmuch@notmuchmail.org>\r
33 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
34 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
35         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
36 X-List-Received-Date: Thu, 26 Nov 2009 18:41:50 -0000\r
37 \r
38 On Mon, 23 Nov 2009 08:00:09 -0500, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
39 > Hi, folks.  I know it's a hairy problem, but has anyone started\r
40 > looking into OpenPGP support for notmuch?\r
41 \r
42 I definitely want this.\r
43 \r
44 I've got message-mode setup to sign my messages automatically when I\r
45 start a new compose from within notmuch with 'm'. I did this with the\r
46 following in my .emacs:\r
47 \r
48 ; sign messages by default\r
49 (add-hook 'message-setup-hook\r
50           (lambda ()\r
51             (mml-secure-message-sign)))\r
52 \r
53 I'm not sure how to make sure that I also get that when doing a reply\r
54 within notmuch. Keith, I think you worked this out, right? What did you\r
55 do?\r
56 \r
57 I'm also interested in automating things like this as much as\r
58 possible. I'd much rather people flip one Boolean notmuch-sign-messages\r
59 variable then have to code up multiple lambda's within .emacs.\r
60 \r
61 Meanwhile, the other pieces still needed are automatic signature\r
62 verification for multipart/signed messages, and then support for\r
63 decrypting GPG-encrypted messages.\r
64 \r
65 I'm certain that the various mail-handling modes within emacs already\r
66 have support for these things, so it's really just a matter of finding\r
67 and hooking into that support.\r
68 \r
69 Of course, if we code some of this up at the library or command-line\r
70 level, then the non-emacs interfaces could automatically benefit from it\r
71 as well.\r
72 \r
73 And that same argument applies for viewing of MIME-encoded message\r
74 parts---I definitely want support at the command-line interface of\r
75 notmuch to at least extract a specific MIME part from a message.\r
76 \r
77 In one sense, it's unfortunate that I figured out a way to let me view\r
78 these parts within emacs without that support in the notmuch\r
79 command-line. That definitely took the pressure off me to finish up\r
80 coding this piece, (which actually wouldn't be hard at all).\r
81 \r
82 -Carl\r