From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62476 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general Subject: Re: "[GNUPG:] TRUST_UNDEFINED" not indicated Date: Mon, 03 Apr 2006 17:32:22 +0900 Message-ID: <5772fa8a-0f53-4232-9522-a97835b413e7@well-done.deisui.org> References: <2cd46e7f0510031250u66ea1349yb437d539ce4027ef@mail.gmail.com> <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> <874q1d645k.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1144053217 17427 80.91.229.2 (3 Apr 2006 08:33:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Apr 2006 08:33:37 +0000 (UTC) Cc: Simon Josefsson , , Romain Francoise Original-X-From: ding-owner+m11002@lists.math.uh.edu Mon Apr 03 10:33:32 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 1FQKV5-0001k1-Mr for ding-account@gmane.org; Mon, 03 Apr 2006 10:33:28 +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 1FQKUz-0007Ww-00; Mon, 03 Apr 2006 03:33:21 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FQKUI-0007Wr-00 for ding@lists.math.uh.edu; Mon, 03 Apr 2006 03:32:38 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FQKUF-0004aN-Eo for ding@lists.math.uh.edu; Mon, 03 Apr 2006 03:32:38 -0500 Original-Received: from g96069.scn-net.ne.jp ([210.231.96.69] helo=well-done.deisui.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FQKUE-0003qf-00 for ; Mon, 03 Apr 2006 10:32:34 +0200 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 1FQKU5-0008SM-Ai; Mon, 03 Apr 2006 17:32:25 +0900 Original-To: Reiner Steib X-Attribution: DU In-Reply-To: (Reiner Steib's message of "Mon, 03 Apr 2006 10:14:24 +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-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62476 Archived-At: >>>>> In >>>>> Reiner Steib wrote: > On Sat, Apr 01 2006, Romain Francoise wrote: > > Simon Josefsson writes: > >> 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. > Simon, what do you suggest to do for Gnus 5.10.8? Should we revert > pgg-gpg.el to 2006-03-21 (before adding gpg-agent support)? Here is the temporary fix for this problem. diff -u -r7.17 pgg-gpg.el --- pgg-gpg.el 29 Mar 2006 07:51:17 -0000 7.17 +++ pgg-gpg.el 3 Apr 2006 08:24:53 -0000 @@ -144,7 +144,7 @@ (when (buffer-live-p (process-buffer process)) (insert-buffer-substring (process-buffer process)) (goto-char (point-min)) - (delete-matching-lines "^\\[GNUPG:] ") + ;(delete-matching-lines "^\\[GNUPG:] ") (goto-char (point-min)) (while (re-search-forward "^gpg: " nil t) (replace-match ""))) Regards, -- Daiki Ueno