Re: [PATCH 0/2] Prompting for the GPG password within Emacs
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 8 Jul 2013 12:22:35 +0000 (08:22 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:56 +0000 (09:55 -0800)
ad/67abfba57900d0f2d8d6d01e01fd1ecaa5358e [new file with mode: 0644]

diff --git a/ad/67abfba57900d0f2d8d6d01e01fd1ecaa5358e b/ad/67abfba57900d0f2d8d6d01e01fd1ecaa5358e
new file mode 100644 (file)
index 0000000..ceed47f
--- /dev/null
@@ -0,0 +1,111 @@
+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 B9371431FAF\r
+       for <notmuch@notmuchmail.org>; Mon,  8 Jul 2013 05:22:45 -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 Ku7e8U+geUCm for <notmuch@notmuchmail.org>;\r
+       Mon,  8 Jul 2013 05:22:39 -0700 (PDT)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+       by olra.theworths.org (Postfix) with ESMTP id 39358431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  8 Jul 2013 05:22:39 -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 A4C91F980;\r
+       Mon,  8 Jul 2013 08:22:37 -0400 (EDT)\r
+Message-ID: <51DAAF0B.7050506@fifthhorseman.net>\r
+Date: Mon, 08 Jul 2013 08:22:35 -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: Neil Roberts <neil@linux.intel.com>\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> <87r4f9xqc7.fsf@neilpc.config>\r
+       <51DAA617.4090308@fifthhorseman.net> <87mwpxxmzp.fsf@neilpc.config>\r
+In-Reply-To: <87mwpxxmzp.fsf@neilpc.config>\r
+X-Enigmail-Version: 1.5.1\r
+Content-Type: multipart/signed; micalg=pgp-sha512;\r
+       protocol="application/pgp-signature";\r
+       boundary="----enig2LUFGJGLUAWLXHGWXRPVU"\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 12:22:45 -0000\r
+\r
+This is an OpenPGP/MIME signed message (RFC 4880 and 3156)\r
+------enig2LUFGJGLUAWLXHGWXRPVU\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 07/08/2013 08:19 AM, Neil Roberts wrote:\r
+> Heh, yeah, I also experimented with going down this route. I wrote an\r
+> overly complicated C program=C2=B9 to manage launching the two SSH sess=\r
+ions.\r
+> That also only handles one session, but yeah I guess you could get the\r
+> program to relaunch the SSH session after the first connection dies.\r
+\r
+did you try the approach i outlined?  no extra C code needed, and if you\r
+want it to re-launch, you should be able to just wrap it in a shell for\r
+loop :)  You might also want a ,reuseaddr on the inner UNIX-LISTEN socat\r
+endpoint.\r
+\r
+> I came across some other people who were suggesting=C2=B2 to make socat=\r
+ wrap\r
+> the Unix socket in a TCP socket and then tunnel that over SSH. I guess\r
+> that would be a simple way to support multiple sessions. However it\r
+> seems a bit dodgy to open a port because you can't restrict the access\r
+> by user.\r
+\r
+I agree you don't want to wrap it up in a TCP socket, for exactly the\r
+access control reasons you describe.\r
+\r
+       --dkg\r
+\r
+\r
+\r
+------enig2LUFGJGLUAWLXHGWXRPVU\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
+iQJ8BAEBCgBmBQJR2q8LXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFQjk2OTEyODdBN0FEREUzNzU3RDkxMUVB\r
+NTI0MDFCMTFCRkRGQTVDAAoJEKUkAbEb/fpc6rMQAKpGSdMn0YJHkKNen39m5Ioq\r
+qzSfSS7Mz4umN7uJMaY3E5F3nCKkHzCDhbDXmZgphiAEM4f+m/H1mmiUtNHV61uV\r
+I2XdeAKs9gxmrNiQPxkwNuB1h+786Mo0KLgskdxB1hlQr2Se2709FgHTTzou7zL2\r
+mYgFVD8rF8PX4RHjkTlTDLCz45tdlsANJAn1tFCxXBowYYCSUhk0vs9+J9tljvZh\r
+Ov6HyppKsFFNCztQsKfe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