Re: [PATCH] cli: crypto: tell gmime to use gpg-agent
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Mar 2013 06:12:41 +0000 (22:12 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:47 +0000 (09:53 -0800)
1c/cb9edadaf10b5e004231eaa10899300b1a4d4c [new file with mode: 0644]

diff --git a/1c/cb9edadaf10b5e004231eaa10899300b1a4d4c b/1c/cb9edadaf10b5e004231eaa10899300b1a4d4c
new file mode 100644 (file)
index 0000000..07a35c9
--- /dev/null
@@ -0,0 +1,103 @@
+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 D4DE1431FBC\r
+       for <notmuch@notmuchmail.org>; Thu, 28 Feb 2013 22:12:48 -0800 (PST)\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 dAhSyB2nYGc9 for <notmuch@notmuchmail.org>;\r
+       Thu, 28 Feb 2013 22:12:48 -0800 (PST)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+       by olra.theworths.org (Postfix) with ESMTP id 5E209431FAF\r
+       for <notmuch@notmuchmail.org>; Thu, 28 Feb 2013 22:12:48 -0800 (PST)\r
+Received: from [10.1.0.12] (c-76-22-27-37.hsd1.wa.comcast.net [76.22.27.37])\r
+       by che.mayfirst.org (Postfix) with ESMTPSA id 7DFA1F979;\r
+       Fri,  1 Mar 2013 01:12:41 -0500 (EST)\r
+Message-ID: <513046D9.8000102@fifthhorseman.net>\r
+Date: Thu, 28 Feb 2013 22:12:41 -0800\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+User-Agent: Mozilla/5.0 (X11; Linux x86_64;\r
+       rv:17.0) Gecko/20130112 Icedove/17.0.2\r
+MIME-Version: 1.0\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>\r
+Subject: Re: [PATCH] cli: crypto: tell gmime to use gpg-agent\r
+References: <1361950838-22919-1-git-send-email-jani@nikula.org>\r
+       <87hakxpwcu.fsf@servo.finestructure.net>\r
+       <87r4k1znor.fsf@maritornes.cs.unb.ca>\r
+       <87ehg1pt2u.fsf@servo.finestructure.net>\r
+       <87txoxwf1a.fsf@nikula.org>\r
+       <87vc9cm12s.fsf@servo.finestructure.net>\r
+In-Reply-To: <87vc9cm12s.fsf@servo.finestructure.net>\r
+X-Enigmail-Version: 1.6a1pre\r
+Content-Type: multipart/signed; micalg=pgp-sha512;\r
+       protocol="application/pgp-signature";\r
+       boundary="----enig2HLERFKDQQQPNJUEJRITP"\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: Fri, 01 Mar 2013 06:12:49 -0000\r
+\r
+This is an OpenPGP/MIME signed message (RFC 4880 and 3156)\r
+------enig2HLERFKDQQQPNJUEJRITP\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 02/28/2013 04:10 PM, Jameson Graef Rollins wrote:\r
+> I think this point makes sense.  I guess my main worry was that queryin=\r
+g\r
+> the agent would have unintended consequences for someone who is not\r
+> expecting it or specifically does not want it to be queried.  But maybe=\r
+\r
+> the point is that if they don't want that to happen, then they should\r
+> just not call notmuch with --decrypt.  I suppose that's reasonable.\r
+\r
+I agree with this analysis.  automatically asking gmime to invoke the\r
+agent is the right thing to do.\r
+\r
+       --dkg\r
+\r
+\r
+------enig2HLERFKDQQQPNJUEJRITP\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
+iQJ8BAEBCgBmBQJRMEbZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwRUU1QkU5NzkyODJEODBCOUY3NTQwRjFD\r
+Q0QyRUQ5NEQyMTczOUU5AAoJEMzS7ZTSFznp1REQAKxKbCd2KxYx1UoMGKHdFTXU\r
+eEAfPaBNqR6y8IUjS9FRBL4ojfyhwsCKyTOf4qlc++X72htltWKiUGKDFEOHmbL1\r
+J8VPUZZ1PBBrlqbo/GAeUdBkaSKR624G5QMgxvmTRqUuCtBZvPBQzGdj98pWmSR4\r
+sYrV5oBH+OCbz1GvuIc1qLJQdyUcLnZ7ys3+fDHtnDVn6okb/b/8W5LmWTSZibcK\r
+WpXZRVcbCwCiXvu9xy5ClI12yDtzGnokp0y6ju0hTSxCxkPY5Xn6WjAHK5p4UBpB\r
+iUmpexmW6bCcyNQ4vPaofP+xkSxqqesN6GOuDL3gfkz001cd62oq2KsZQdVcs7aK\r
+bGUr8R4TL7Cg/Gt3Z2BKBPOX18/RrDoz0tIdATwz18UZ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