--- /dev/null
+Return-Path: <dkg@fifthhorseman.net>\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 BEF8F431FAF\r
+ for <notmuch@notmuchmail.org>; Mon, 8 Jul 2013 03:55:36 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\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 HyNCkR9Y0MfL for <notmuch@notmuchmail.org>;\r
+ Mon, 8 Jul 2013 03:55:29 -0700 (PDT)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+ by olra.theworths.org (Postfix) with ESMTP id 3DED6431FAE\r
+ for <notmuch@notmuchmail.org>; Mon, 8 Jul 2013 03:55:29 -0700 (PDT)\r
+Received: from [192.168.13.179] (lair.fifthhorseman.net [108.58.6.98])\r
+ by che.mayfirst.org (Postfix) with ESMTPSA id 06703F980;\r
+ Mon, 8 Jul 2013 06:55:08 -0400 (EDT)\r
+Message-ID: <51DA9A8A.5070405@fifthhorseman.net>\r
+Date: Mon, 08 Jul 2013 06:55:06 -0400\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+User-Agent: Mozilla/5.0 (X11; Linux x86_64;\r
+ rv:17.0) Gecko/20130630 Icedove/17.0.7\r
+MIME-Version: 1.0\r
+To: craven@gmx.net\r
+Subject: Re: [PATCH 0/2] Prompting for the GPG password within Emacs\r
+References: <1373195672-9338-1-git-send-email-neil@linux.intel.com>\r
+ <51D9F4E6.1030504@fifthhorseman.net> <87wqp135yn.fsf@nexoid.at>\r
+In-Reply-To: <87wqp135yn.fsf@nexoid.at>\r
+X-Enigmail-Version: 1.5.1\r
+Content-Type: multipart/signed; micalg=pgp-sha512;\r
+ protocol="application/pgp-signature";\r
+ boundary="----enig2PGGJTJOBVXGHXQGMFHTA"\r
+Cc: notmuch@notmuchmail.org\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: Mon, 08 Jul 2013 10:55:36 -0000\r
+\r
+This is an OpenPGP/MIME signed message (RFC 4880 and 3156)\r
+------enig2PGGJTJOBVXGHXQGMFHTA\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 07/08/2013 02:45 AM, craven@gmx.net wrote:\r
+> This is what I have tried too :) My setup is as follows:\r
+> I run emacs in non-window mode (-nw) on a server machine under tmux (a\r
+> terminal multiplexer, like screen). I connect to this via SSH from\r
+> different machines (maybe even across multiple SSH logins).\r
+\r
+cool, this makes sense to me.\r
+\r
+on the remote server, do you have the pinentry-curses and gnupg-agent\r
+packages installed (these are the packages' names on debian and\r
+debian-derived systems -- they might be named something else on your\r
+distro).\r
+\r
+do you have use-agent (on its own line) in ~/.gnupg/gpg.conf on the serve=\r
+r?\r
+\r
+> I have the secret keys on the local machine and the remote machine.\r
+> gpg-agent runs fine on the remote machine, however I have found no way\r
+> to make it consistently prompt for the password on the right SSH\r
+> connection (I don't believe there even is a way to achieve this, as\r
+> there may be multiple, or I may leave several connections open and move=\r
+\r
+> between machines). The only thing that mostly works is using the remote=\r
+\r
+> gpg-agent to prompt on the terminal, which messes up the display\r
+> temporarily.\r
+\r
+The route i suggest above (with pinentry-curses might be what you're\r
+describing here. when you say "messes up the display temporarily" can\r
+you be more specific about what it does to the display? this may be a\r
+bug in pinentry-curses that could be fixed.\r
+\r
+ --dkg\r
+\r
+\r
+------enig2PGGJTJOBVXGHXQGMFHTA\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+Content-Disposition: attachment; filename="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+Comment: Using GnuPG with Icedove - http://www.enigmail.net/\r
+\r
+iQJ8BAEBCgBmBQJR2pqKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFQjk2OTEyODdBN0FEREUzNzU3RDkxMUVB\r
+NTI0MDFCMTFCRkRGQTVDAAoJEKUkAbEb/fpcrN4QAMBtlCuCAFjrnce+rGYZfJBR\r
+Dx6q18lZm3bcpSrAHj9IB8k1Qs+XqKDNDN/47QZ0ehKY8fOcnX17lVasZHDjGbhn\r
+qP7ZPSG/ce0Ui91qTXYon+callh3NlCXIqKeAjOwPNPu1qVU6NS/eznkp9hDrjtu\r
+koJiaZ6eADeaGbxNxkZ+RB/Wr1nQje7XzusWJ4WYa7wwvW6EqnaC4r+X3IZ3CL/s\r
+6QcsQ53L7N67JYz9aPURNlwLcO4LQj86mWAMNlu07F4pLaCIydipXoXZZTVL2Jve\r
+hWX+q0dnmzLZM+RztP46iALOzLP0aBPYAi6IhueohZB/IjhtCyaku+xSTtMF0xAR\r
+xkQpOOr9UKfcWsfNjE+76JmMZz36ayPRHXh8HnpzWJXDrq20MGElIXL3dSWUP2Zm\r
+x788G7s2ARqo/AnTOoFofTgyYY5b5JMgMyPLt90irSZBvpxAq342o+vNy7I6exLK\r
+PgCQWKI+oRmqXlrDuiJ8w5KpYIPcgw3DELbBAbKjrJs8BhYotG3wtHT8hnePsySg\r
+6vbgZlFR1MIi3wYn/e4D3yfInnKtRk4W18ABhNP0ShGpyVfJUF0IN/3MX+9ZP7ud\r
+Z1SYW/GoS7MaG7YDXuS6N5f5GueURngg8yEMxvDuQo9CdfLp96k00CL5SVrBBoia\r
+irllHh4TwVq5nDopSQCY\r
+=9vt6\r
+-----END PGP SIGNATURE-----\r
+\r
+------enig2PGGJTJOBVXGHXQGMFHTA--\r