From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Small patch to enable use of gpg-agent with pgg Date: Sun, 19 Mar 2006 14:45:50 +1100 Message-ID: <87pskjw101.fsf@rimspace.net> 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> <878xr78dn2.fsf@catnip.gol.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142741169 29677 80.91.229.2 (19 Mar 2006 04:06:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2006 04:06:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: ding-owner+m10827@lists.math.uh.edu Sun Mar 19 05:06:08 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FKpAx-0001oE-AO for ding-account@gmane.org; Sun, 19 Mar 2006 05:05:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FKpAo-0007SR-00; Sat, 18 Mar 2006 22:05:46 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FKp6p-0007SL-00 for ding@lists.math.uh.edu; Sat, 18 Mar 2006 22:01:39 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FKp6n-0003Il-G2 for ding@lists.math.uh.edu; Sat, 18 Mar 2006 22:01:39 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FKp6m-0007g8-00 for ; Sun, 19 Mar 2006 05:01:36 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FKp6k-0001Jb-Ja for ding@gnus.org; Sun, 19 Mar 2006 05:01:34 +0100 Original-Received: from 203-217-29-45.perm.iinet.net.au ([203.217.29.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Mar 2006 05:01:34 +0100 Original-Received: from daniel by 203-217-29-45.perm.iinet.net.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Mar 2006 05:01:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 203-217-29-45.perm.iinet.net.au User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.5-b25 (eggplant, linux) Cancel-Lock: sha1:oc5gxV52Abzy7PZDe7MHgcCEM5c= X-Spam-Score: -2.3 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62300 gmane.emacs.devel:51843 Archived-At: Miles Bader writes: > Daniel Pittman writes: >> Is it not possible to enable gpg to try the agent first, then to prompt >> for a passphrase? > > In my experience (trying to do the same thing outside of gnus), gpg is > generally kind of stupid in this respect ... if you find a way to do > it, let me know! Hrm. According to the documentation I have here, '--use-agent' will first try to contact the agent, and will then ask for a passphrase if that fails. I don't have access to the agent to test, but it seems that it may be possible to have this accept a passphrase from Gnus as well as trying the agent. Just a simple matter of programming -- which is, of course, easy for me to volunteer the original poster. ;) Daniel -- Digital Infrastructure Solutions -- making IT simple, stable and secure Phone: 0401 155 707 email: contact@digital-infrastructure.com.au