From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63308 Path: news.gmane.org!not-for-mail From: Andreas Seltenreich Newsgroups: gmane.emacs.gnus.general Subject: Re: PGG broken? Date: Fri, 02 Jun 2006 05:44:54 +0200 Message-ID: <87lksgdxvt.fsf@gate450.dyndns.org> References: <878xp01c8x.fsf@nwalsh.com> <87sln75xdd.fsf@nwalsh.com> <87ejyrfqsm.fsf@tallis.ilo.ucl.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149220081 1355 80.91.229.2 (2 Jun 2006 03:48:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jun 2006 03:48:01 +0000 (UTC) Original-X-From: ding-owner+m11835@lists.math.uh.edu Fri Jun 02 05:48:00 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 1Fm0di-00085O-Rj for ding-account@gmane.org; Fri, 02 Jun 2006 05:47:59 +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 1Fm0dd-0006gY-00; Thu, 01 Jun 2006 22:47:53 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Fm0b1-0006gS-00 for ding@lists.math.uh.edu; Thu, 01 Jun 2006 22:45:11 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1Fm0ay-0008CF-M2 for ding@lists.math.uh.edu; Thu, 01 Jun 2006 22:45:10 -0500 Original-Received: from smtp2.rz.uni-karlsruhe.de ([129.13.185.218]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Fm0at-0003It-00 for ; Fri, 02 Jun 2006 05:45:03 +0200 Original-Received: from rzstud2.stud.uni-karlsruhe.de (exim@rzstud2.stud.uni-karlsruhe.de [193.196.41.38]) by smtp2.rz.uni-karlsruhe.de with esmtp (Exim 4.50 #1) id 1Fm0ar-0005AS-28; Fri, 02 Jun 2006 05:45:01 +0200 Original-Received: from uwi7 by rzstud2.stud.uni-karlsruhe.de with local (Exim 4.43) id 1Fm0aq-0007LD-Nv for ding@gnus.org; Fri, 02 Jun 2006 05:45:00 +0200 Original-To: ding@gnus.org X-Face: $:F<87a[gD1?#R6S3j21cr1&C&7bd63GHC.tSdskUb}hhwG(ci*=D5kJ<_N+p9q(7-,PnG. Et.Yh (Marcus Frings's message of "Tue, 23 May 2006 23:25:12 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.51 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63308 Archived-At: Marcus Frings schrob: > * Marcus Frings wrote: > >> 1) When I use the set-policy-url option in my gpg.conf I can't sign >> mails anymore ("sign error"). After removing this option I can sign >> mails again. Hmm, did you really get a "sign error" signalled?[1] When I tried to reproduce it, I got a 'search-failed one from pgg-parse-armor, because pgg-gpg-sign-region returned successful signing status and an empty output buffer at the same time. In my case, GnuPG[2] returned a non-zero exit-status because it couldn't generate a signature with a policy URL while maintaining PGP compatibility. Nevertheless, it did the signing without a policy URL and reported SIG_CREATED. The non-zero exit status caused the pgg-gpg sentinel to discard the output, pgg-gpg-sign-region however saw the SIG_CREATED on the status-fd and returned success despite the discarded output. Switching PGP-compatibility off via "openpgp" in gpg.conf made the signing succeed with a policy URL set. Of course, the underdone error handling is still there, and I wonder if one should fix it by making the sentinel not discard the output on non-zero exit status, or forcing pgg-gpg to return failure even if there might be useful output. Anyone? regards, andreas [1] I'm figuring that the " *MML2015 result*" buffer should have popped up then, and the problem with the policy-url option should have been obvious. OTOH you might have already disabled PGP compatibility, and are experiencing a different bug :-/. [2] 1.4.1