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