From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62470 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.gnus.general Subject: Re: Small patch to enable use of gpg-agent with pgg Date: Sat, 01 Apr 2006 11:23:03 +0200 Organization: orebokech dot com Message-ID: <874q1d645k.fsf@pacem.orebokech.com> References: <2cd46e7f0510031250u66ea1349yb437d539ce4027ef@mail.gmail.com> <87pskfq361.fsf@latte.josefsson.org> <877j6mg2af.fsf@latte.josefsson.org> <87lkv1whmh.fsf@latte.josefsson.org> <897751e5-a148-4109-8da6-6f69cce0dec0@well-done.deisui.org> <87d5gd2ts1.fsf@latte.josefsson.org> <87wteiypvv.fsf@latte.josefsson.org> <87irq1evdk.fsf@catnip.gol.com> <0443f268-1caf-4aef-9a06-daa4a59b0682@well-done.deisui.org> <87slp587cw.fsf@latte.josefsson.org> <87odzs8c0a.fsf@latte.josefsson.org> <87lkurytqu.fsf@pacem.orebokech.com> <874q1dr7fi.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 1143883417 31079 80.91.229.2 (1 Apr 2006 09:23:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Apr 2006 09:23:37 +0000 (UTC) Cc: ding@gnus.org, Daiki Ueno Original-X-From: ding-owner+m10997@lists.math.uh.edu Sat Apr 01 11:23:30 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 1FPcKP-0006Fj-7z for ding-account@gmane.org; Sat, 01 Apr 2006 11:23:29 +0200 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 1FPcKK-000437-00; Sat, 01 Apr 2006 03:23:24 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FPcK1-000432-00 for ding@lists.math.uh.edu; Sat, 01 Apr 2006 03:23:05 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FPcJz-0004Ke-Er for ding@lists.math.uh.edu; Sat, 01 Apr 2006 03:23:05 -0600 Original-Received: from yeast.orebokech.com ([82.67.41.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FPcJw-0002QM-00 for ; Sat, 01 Apr 2006 11:23:01 +0200 Original-Received: from pacem.orebokech.com (pacem.orebokech.com [192.168.1.3]) by yeast.orebokech.com (Postfix) with ESMTP id 7B02812E60; Sat, 1 Apr 2006 11:23:00 +0200 (CEST) Original-Received: by pacem.orebokech.com (Postfix, from userid 1000) id 820F4523E2; Sat, 1 Apr 2006 11:23:03 +0200 (CEST) Original-To: Simon Josefsson X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM (Simon Josefsson's message of "Sat, 01 Apr 2006 11:06:41 +0200") X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62470 Archived-At: Simon Josefsson writes: > Weird, that shouldn't be affected by that patch. Uhm, if you do 'cvs > update -D 2006-03-01 pgg-gpg.el' (or some date before the patch), does > it work again? Yes. > Daiki, do you have any ideas? Does your patch change what status > information gpg outputs, perhaps? Bisecting shows that it's caused by the following change: 2006-03-27 Daiki Ueno * pgg-gpg.el: Invoke gpg asynchronous, to avoid querying for passphrases when it is not needed. (pgg-gpg-use-agent): Add, to hard code that pgg shouldn't wait for passphrase stuff from gpg, should only be necessary when you use gpg with a smartcard. Stepping through the mml2015 code, I see that after this change, the *MML2015 Result* buffer no longer contains the GnuPG status lines (the ones that start with ``[GNUPG:]'', in particular the ``[GNUPG:] TRUST_UNDEFINED'' line), so `mml2015-gpg-extract-signature-details' doesn't find the trust level of the signature. So yeah, status information gets lost somewhere in PGG due to the new asynchronous interface. I'm using Emacs from CVS (from March 30th). Thanks, -- Romain Francoise | The sea! the sea! the open it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the | ever free! --Bryan W. Procter