Re: [PATCH] cli: crypto: tell gmime to use gpg-agent
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 27 Feb 2013 17:25:29 +0000 (09:25 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:47 +0000 (09:53 -0800)
fb/e58a0a70ed77185ab5847099a4077b584a17de [new file with mode: 0644]

diff --git a/fb/e58a0a70ed77185ab5847099a4077b584a17de b/fb/e58a0a70ed77185ab5847099a4077b584a17de
new file mode 100644 (file)
index 0000000..c9a14d0
--- /dev/null
@@ -0,0 +1,104 @@
+Return-Path: <jrollins@finestructure.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 5F149431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 27 Feb 2013 09:25:41 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] 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 kEckrj3Za3Hd for <notmuch@notmuchmail.org>;\r
+       Wed, 27 Feb 2013 09:25:40 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id CDBBA431FAF\r
+       for <notmuch@notmuchmail.org>; Wed, 27 Feb 2013 09:25:40 -0800 (PST)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 2361B66E0144;\r
+       Wed, 27 Feb 2013 09:25:40 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (DHCP-123-224.caltech.edu [131.215.123.224])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id 208B166E012B;\r
+       Wed, 27 Feb 2013 09:25:32 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id CD16261745; Wed, 27 Feb 2013 09:25:31 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] cli: crypto: tell gmime to use gpg-agent\r
+In-Reply-To: <87r4k1znor.fsf@maritornes.cs.unb.ca>\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
+User-Agent: Notmuch/0.15+8~gd4a7374 (http://notmuchmail.org) Emacs/24.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 27 Feb 2013 09:25:29 -0800\r
+Message-ID: <87ehg1pt2u.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Wed, 27 Feb 2013 17:25:41 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Wed, Feb 27 2013, David Bremner <david@tethera.net> wrote:\r
+> But right now we force people to enable the agent globally via use-agent\r
+> if they want to decrypt mail in notmuch-cli/emacs. The proposed change\r
+> allows them to use the agent only for notmuch.\r
+\r
+Doesn't the proposed change actually *force* the user to use gpg-agent?\r
+How can the user opt out?\r
+\r
+> I don't think we should directly care about the presence of an X session\r
+> or not; the agent protocol doesn't depend on how the agent was started\r
+> afaik.=20\r
+\r
+Maybe, but I would like some example of what happens if you force usage\r
+of an agent and the agent is not present or there is no X session.\r
+\r
+All I'm saying is that I would like to see how this patch interacts with\r
+these situations.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJRLkGJAAoJEO00zqvie6q8e9IP/1eDWtRw11MOzKt3jIMdD+kn\r
+Y6Tm9YmYDtiJAmRoom8sBW5PYmS2P1m1NAORtzd5YTJA12ZdtAu2x/gUiKgFfcvE\r
+wTKKPswezT1FMtFRYzSNxn11ejmsVT4Xzpa54JyujdY0fEkOOJrc+K/HU1ISXbUN\r
+o/+QkDKD4X3x9/jbbiuAEHoE2CZjpiT2TpC8PmqI0j3oKnRmGksQ7hFibxx1s+Uv\r
+Ffl110zIEyaFUfkGAUAr3Y9YdUTHJQFL1SUNdF+g0deJVDY3VqnGoZwrXKsCzuRH\r
+Ui26iXzTvLU+cNsP5NP2ai1f0ZvRFnZ2OAUivm0G5R18L7k9xG1vSO0BoHMNDgDH\r
+9IRPsMSuOqOZXKZ07/OeaUEhHZ6f8nsEsY4iAHtnrq4C51nVP9dx6n5JGiej/QuC\r
+B1IG2V7c9ZmnSn7HGJ1uR2yTBBy1SQCYY/fUMnhIWHLvxwnuTPUAo4D8hvCuLuux\r
+GcjNbz6cmWLMKFGoIesFAWVPbcrGokt4GZRsGJnnWDeMJahGag3Cs+ROap1razNt\r
+Ot1Jc5Hp1l05Xp0OzRs2UUCSPm7jO8xC7JiBF1nW5s0grMskkNfGkdxHkapVSz7Y\r
+BxghawZ+IkwW3h+w6tuR5I+dKScOSpU2t3xPrf/dKT653HAyxgj4c4enmdoTg3l4\r
+ddK2HKwx/Pm/0i16G8Qs\r
+=8nAJ\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r