From: Andreas Seltenreich <andreas+ding@gate450.dyndns.org>
Subject: Re: PGG broken?
Date: Fri, 02 Jun 2006 05:44:54 +0200 [thread overview]
Message-ID: <87lksgdxvt.fsf@gate450.dyndns.org> (raw)
In-Reply-To: <vita-brevis-breviter-in-brevi-finietur-mors-venit-velociter-quae-neminem-veretur-86zmh8l9hj.fsf@shodan.gothgoose.net> (Marcus Frings's message of "Tue, 23 May 2006 23:25:12 +0200")
Marcus Frings schrob:
> * Marcus Frings <iam-est-hora-surgere@despammed.com> 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
next prev parent reply other threads:[~2006-06-02 3:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-17 23:07 Signing issues with gnus from CVS Norman Walsh
[not found] ` <smuzmhfr0zb.fsf@linuxpal.mit.edu>
2006-05-18 12:30 ` Norman Walsh
2006-05-18 12:42 ` Bastien
[not found] ` <87ejyrfqsm.fsf-iS72tiDCHhS1g9c2/K602IXGvZO2VSpW@public.gmane.org>
2006-05-18 13:21 ` Jochen Küpper
2006-05-19 22:56 ` PGG broken? (was: Signing issues with gnus from CVS) Marcus Frings
2006-05-23 21:25 ` PGG broken? Marcus Frings
2006-05-24 16:10 ` Norman Walsh
2006-06-02 3:44 ` Andreas Seltenreich [this message]
2006-06-04 4:38 ` Andreas Seltenreich
2006-06-18 15:09 ` Marcus Frings
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lksgdxvt.fsf@gate450.dyndns.org \
--to=andreas+ding@gate450.dyndns.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).