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: pgg-gpg broken? Date: Thu, 06 Apr 2006 18:21:26 +0900 Message-ID: References: <2cd46e7f0510031250u66ea1349yb437d539ce4027ef@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 1144315328 21556 80.91.229.2 (6 Apr 2006 09:22:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Apr 2006 09:22:08 +0000 (UTC) Cc: Simon Josefsson , ding@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 06 11:22:06 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 1FRQgh-0001HA-Nl for ged-emacs-devel@m.gmane.org; Thu, 06 Apr 2006 11:22:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FRQgh-0000U7-CB for ged-emacs-devel@m.gmane.org; Thu, 06 Apr 2006 05:21:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FRQgV-0000TQ-Cg for emacs-devel@gnu.org; Thu, 06 Apr 2006 05:21:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FRQgT-0000TC-GE for emacs-devel@gnu.org; Thu, 06 Apr 2006 05:21:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FRQgT-0000T9-Az for emacs-devel@gnu.org; Thu, 06 Apr 2006 05:21:45 -0400 Original-Received: from [210.231.96.69] (helo=well-done.deisui.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FRQkA-0006ga-81 for emacs-devel@gnu.org; Thu, 06 Apr 2006 05:25:35 -0400 Original-Received: from [150.82.173.221] (helo=well-done.deisui.org) by well-done.deisui.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1FRQgD-0007aC-HJ; Thu, 06 Apr 2006 18:21:29 +0900 Original-To: Sascha Wilde X-Attribution: DU In-Reply-To: (Sascha Wilde's message of "Thu, 06 Apr 2006 11:00:25 +0200") User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.4 (patch 17) (Jumbo Shrimp) (i686-pc-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:52468 gmane.emacs.gnus.general:62542 Archived-At: >>>>> In >>>>> Sascha Wilde wrote: > > A straightforward way to investigate this problem is decrypting the mail > > from the command line as pgg-gpg does. Could you try the following? > > > > $ cat input.txt | gpg --no-tty --status-fd 1 --command-fd 0 --yes \ > > --output output.txt --decrypt > This doesn't work (it tries to read the passphrase from the pipe, too. As I said in the private mail, this is because the pipe is closed after cat exits. Could you try this one and see if gpg waits after "[GNUPG:] GET_HIDDEN passphrase.enter"? $ (cat test.msg; sleep 10) | gpg --no-tty --status-fd 1 --command-fd 0 --yes \ --output output.txt --decrypt Regards, -- Daiki Ueno