From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Small patch to enable use of gpg-agent with pgg Date: Fri, 24 Mar 2006 05:07:51 +0900 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> <87pskfq361.fsf@latte.josefsson.org> <877j6mg2af.fsf@latte.josefsson.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1143144495 18653 80.91.229.2 (23 Mar 2006 20:08:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Mar 2006 20:08:15 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org, Simon Josefsson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 23 21:08:12 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 1FMW68-0007CY-ES for ged-emacs-devel@m.gmane.org; Thu, 23 Mar 2006 21:07:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMW68-0007q5-2d for ged-emacs-devel@m.gmane.org; Thu, 23 Mar 2006 15:07:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FMW5x-0007pz-Ut for emacs-devel@gnu.org; Thu, 23 Mar 2006 15:07:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FMW5w-0007pj-4s for emacs-devel@gnu.org; Thu, 23 Mar 2006 15:07:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMW5v-0007pg-SU for emacs-devel@gnu.org; Thu, 23 Mar 2006 15:07:43 -0500 Original-Received: from [221.255.76.220] (helo=localhost) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FMW6a-0002ka-4w for emacs-devel@gnu.org; Thu, 23 Mar 2006 15:08:24 -0500 Original-Received: from localhost ([127.0.0.1] helo=well-done.deisui.org ident=ueno) by localhost with esmtp (Exim 4.60) (envelope-from ) id 1FMW63-00035W-5O; Fri, 24 Mar 2006 05:07:51 +0900 Original-To: Sascha Wilde X-Attribution: DU In-Reply-To: (Sascha Wilde's message of "Thu, 23 Mar 2006 13:52:32 +0100") User-Agent: T-gnus/6.17.3 (based on No Gnus v0.3) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 XEmacs/21.4.16 (i686-pc-linux) MULE 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:52014 gmane.emacs.gnus.general:62394 Archived-At: Hello, >>>>> In >>>>> Sascha Wilde wrote: > Daiki Ueno wrote: > But after having a look at the status output from --status-fd with > --use-agent and --no-use-agent I'm starting to doubt that your idea > can work at all. The status output is in both cases identical... :-( > Hopefully I'm missing something. I guess that you missed to specify --command-fd 0. If it is specified, you will get "GET_HIDDEN passphrase.enter" in the latter case: $ gpg --decrypt --armor --status-fd 1 --command-fd 0 --use-agent test.txt.asc gpg: CAST5 encrypted data [GNUPG:] NEED_PASSPHRASE_SYM 3 3 2 (gpg spawns pinentry) $ gpg --decrypt --armor --status-fd 1 --command-fd 0 --no-use-agent test.txt.asc gpg: CAST5 encrypted data [GNUPG:] NEED_PASSPHRASE_SYM 3 3 2 [GNUPG:] GET_HIDDEN passphrase.enter Regards, -- Daiki Ueno