From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Small patch to enable use of gpg-agent with pgg Date: Sun, 19 Mar 2006 10:49:11 +0100 Message-ID: References: <2cd46e7f0510031250u66ea1349yb437d539ce4027ef@mail.gmail.com> <2cd46e7f0510061541w73bb6a92wb6d22829b6e804ae@mail.gmail.com> <20051007100014.GB4850@kenny.sha-bang.local> <2cd46e7f0510071106k3d4d3e6agc36f16a37d8b6bc6@mail.gmail.com> <20051007214952.GA30235@kenny.sha-bang.local> <20051008103627.GA1218@kenny.sha-bang.local> <2cd46e7f0510081131h14e2bbeaga7f1a33ebd6347c8@mail.gmail.com> <2cd46e7f0510101415t76825ea7u9749fe23da54ce@mail.gmail.com> <2cd46e7f0510121647x3c51fb65pc883ed61f4e864ab@mail.gmail.com> <2cd46e7f0510200708x4640d1c2t50743cf439e52dd4@mail.gmail.com> <877j6rxre3.fsf@rimspace.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1303282527==" X-Trace: sea.gmane.org 1142761797 4868 80.91.229.2 (19 Mar 2006 09:49:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2006 09:49:57 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 19 10:49:56 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FKuXk-0002MS-BK for ged-emacs-devel@m.gmane.org; Sun, 19 Mar 2006 10:49:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FKuXj-00013U-IS for ged-emacs-devel@m.gmane.org; Sun, 19 Mar 2006 04:49:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FKuXM-00011R-7B for emacs-devel@gnu.org; Sun, 19 Mar 2006 04:49:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FKuXJ-0000zZ-DL for emacs-devel@gnu.org; Sun, 19 Mar 2006 04:49:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FKuXJ-0000z0-5o for emacs-devel@gnu.org; Sun, 19 Mar 2006 04:49:21 -0500 Original-Received: from [62.141.58.119] (helo=km1136.keymachine.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FKucb-0006TG-JS for emacs-devel@gnu.org; Sun, 19 Mar 2006 04:54:49 -0500 Original-Received: from kenny.sha-bang.de (xdsle180.osnanet.de [212.95.104.180]) (authenticated bits=0) by km1136.keymachine.de (8.12.11/8.12.10) with ESMTP id k2J9nEKw009977; Sun, 19 Mar 2006 10:49:14 +0100 Original-Received: from wilde by kenny.sha-bang.de with local (Kenny MUA v.0409034.42) ID 1FKuXF-0001CL-SO; Sun, 19 Mar 2006 10:49:17 +0100 Original-To: Daniel Pittman In-Reply-To: <877j6rxre3.fsf@rimspace.net> (Daniel Pittman's message of "Sun, 19 Mar 2006 10:30:28 +1100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51851 gmane.emacs.gnus.general:62301 Archived-At: --===============1303282527== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable Daniel Pittman wrote: > Sascha Wilde writes: > >> I wrote a small patch, which makes it possible to use the GnuPG agent >> (which is part of gpg 1.9 and considered ready to use by Werner) with >> the GnuPG backend of pgg. [...] > I am not convinced that this is the best idea -- so far as I can see, if > I were to set `pgg-gpg-use-agent' to `t' then I *must* use the agent. > > Is it not possible to enable gpg to try the agent first, then to prompt > for a passphrase? Yes, that would be good. I'll try to implement it. > Also, is it possible to automatically detect support for using the agent > so that it isn't necessary to manually enable this -- once a new enough > version is available, support is enabled? This would be very error prone. Even if a running gpg-agent is available there are certain conditions which could make using it impossible. For example: on an text console running the standard pin-entry program (which uses curses) from within emacs won't work. That's why I think that using an available agent should be enabled explicitly.=20 cheers sascha =2D-=20 Sascha Wilde Real programmers don't want "what you see is what you get", they want "you asked for it, you got it". They want editors that are terse, powerful, cryptic, and unforgiving. In a word, Teco. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEHSkdchutvmkRUCQRAhzSAJ9HY8kO1ZKLEYDNfWRoRHrj0wLWmgCgyF8C vnrnkitHDCLeAYajNU2YeIU= =z7Wl -----END PGP SIGNATURE----- --=-=-=-- --===============1303282527== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1303282527==--