Problem with PGP
Russ Allbery
rra at stanford.edu
Mon Jan 12 06:37:24 UTC 2004
Roxik <roxik at poczta.fm> writes:
> I installed inn 2.4.0+20030912
> It works great, but I have problems with PGP signed control message:
> At last I see this:
> Jan 1 06:21:00 news pgpverify[2680]: gpg exited status 2 processing
> <checkgroups-pl-2004.Jan.01-062010 at usenet.pl>
> Jan 1 06:21:00 news controlchan[10967]: skipping checkgroups
> newgroup at usenet.pl(pgpverify failed) in
> <checkgroups-pl-2004.Jan.01-062010 at usenet.pl>
The way to debug problems like this is to save the control message to a
file and then run:
pgpverify -test < message
on the file. You may need to apply the following patch to pgpverify first
to make the -test switch work right; it looks like the version in STABLE
has this problem:
--- pgpverify.in 2002/12/03 05:17:11 1.6
+++ pgpverify.in 2004/01/12 06:35:50
@@ -165,7 +165,7 @@ use vars qw($gpgv $pgp $keyring $tmp $tm
$syslog_facility $syslog_level $log_date $test $messageid);
# Turn on test mode if the first argument is '-test'.
-if ($1 && $1 eq '-test') {
+if (@ARGV && $ARGV[0] eq '-test') {
shift @ARGV;
$test = 1;
}
It will then print out the output of GnuPG, which can sometimes be useful.
> p.s.1
> This message:
> ftp://ftp.isc.org/usenet/control/pl/pl.sci.historia.gz
> give me a similar error message. I changed mode of this group manually, but
> why "is pgp failed"?
> I have'nt any other problems with normal groups
I assume that you mean the last message in that archive? I just ran
pgpverify from INN 2.4.1 on the last message from that file and it
successfully verified the message, so I can't repeat this problem.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list