Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 2d / 0dc757e2ff23c2b3b2f18726d3c8521d9d448a
1 Return-Path: <craven@gmx.net>\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 74863431FAF\r
6         for <notmuch@notmuchmail.org>; Sun,  7 Jul 2013 23:45:50 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id STg2LSXJc5og for <notmuch@notmuchmail.org>;\r
17         Sun,  7 Jul 2013 23:45:43 -0700 (PDT)\r
18 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id B5A80431FAE\r
20         for <notmuch@notmuchmail.org>; Sun,  7 Jul 2013 23:45:42 -0700 (PDT)\r
21 Received: from mail.nexoid.at ([178.79.130.240]) by mail.gmx.com (mrgmx101)\r
22         with ESMTPSA (Nemesis) id 0Lxt3Q-1UAqJB19SG-015MV1;\r
23         Mon, 08 Jul 2013 08:45:37 +0200\r
24 Received: from nexoid (localhost [127.0.0.1])\r
25         by mail.nexoid.at (Postfix) with ESMTP id 8A3BEE01D;\r
26         Mon,  8 Jul 2013 08:45:36 +0200 (CEST)\r
27 From: <craven@gmx.net>\r
28 To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
29         Neil Roberts <neil@linux.intel.com>\r
30 Subject: Re: [PATCH 0/2] Prompting for the GPG password within Emacs\r
31 In-Reply-To: <51D9F4E6.1030504@fifthhorseman.net>\r
32 References: <1373195672-9338-1-git-send-email-neil@linux.intel.com>\r
33         <51D9F4E6.1030504@fifthhorseman.net>\r
34 User-Agent: Notmuch/0.15.2+182~gd0bd88f (http://notmuchmail.org)\r
35         Emacs/24.3.50.1 (i686-pc-linux-gnu)\r
36 Date: Mon, 08 Jul 2013 08:45:36 +0200\r
37 Message-ID: <87wqp135yn.fsf@nexoid.at>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain\r
40 X-Provags-ID: V03:K0:IVhD9GfVeOu35ZQSUzLvA+07yWQXir0E5WvR3Ma5BRagVCSKEG/\r
41         X6Aa44gjyAzlq7rE6GVhvG1ErxsnI5M0Oo+qut7Heniad7FsxmbDBbxqLqsg3HEVUNQ7HAD\r
42         FG511EG+SdJlCSJVOQ13TEtsksPfBBeTeUp7DXvkRzyLP9oqxPqBtm5ej0lyma/y8V7YD1w\r
43         y4QFp8U9Sv33AM/FFeODA==\r
44 Cc: notmuch@notmuchmail.org\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Mon, 08 Jul 2013 06:45:50 -0000\r
58 \r
59 >> I've recently started using notmuch to try and read PGP-encrypted\r
60 >> email. However the trouble is I normally access my email remotely via\r
61 >> SSH and it's very difficult to get gpg-agent to work in those\r
62 >> circumstances. I've therefore made some patches to try and get Emacs\r
63 >> to prompt for the password. They are based on the way mml communicates\r
64 >> with gpg by having two pipes so that notmuch can notify Emacs that it\r
65 >> needs a password and it will reply on the other.\r
66 \r
67 This is what I have tried too :) My setup is as follows:\r
68 I run emacs in non-window mode (-nw) on a server machine under tmux (a\r
69 terminal multiplexer, like screen). I connect to this via SSH from\r
70 different machines (maybe even across multiple SSH logins).\r
71 \r
72 > I strongly encourage you to get the gpg-agent model sorted out for your\r
73 > use case, instead of moving in the direction of this patch series.\r
74 > Can you describe what you've tried in terms of using gpg-agent?  where\r
75 > are your secret keys stored?  are they on your local machine, or on the\r
76 > remote machine?\r
77 \r
78 I have the secret keys on the local machine and the remote machine.\r
79 gpg-agent runs fine on the remote machine, however I have found no way\r
80 to make it consistently prompt for the password on the right SSH\r
81 connection (I don't believe there even is a way to achieve this, as\r
82 there may be multiple, or I may leave several connections open and move\r
83 between machines). The only thing that mostly works is using the remote\r
84 gpg-agent to prompt on the terminal, which messes up the display\r
85 temporarily.\r
86 \r
87 I'd be really happy about any ideas how to solve this :)\r
88 \r
89 Greetings,\r
90 \r
91 Peter\r