🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69011

Weird pgpverify problem

#69011
From: Mike Zanker
Date: Tue, 20 Apr 2004 15:39
32 lines
2478 bytes
OK, I've spent most of the afternoon trying to sort this out without 
success so it's time to resort to the experts :)

I have two INN servers, one running INN 2.3.5 (Red Hat's own RPM supplied 
with Red Hat Enterprise Linux 3.0) and the other running INN 2.4.1 
(compiled by myself on Solaris 9).

The feeder (2.4.1) processes PGP-signed control messages fine. The reader 
(2.3.5) does not. The reader, in news.err, says

pgpverify: gpgv exited status 2 processing <1082426649.9341@news.a3.xs4all.nl>
skipping newgroup nl-admin@nic.surfnet.nl (pgpverify failed) in 
<1082426649.9341@news.a3.xs4all.nl>

If I run pgpverify from the command line on that particular control 
message, the output is "nl.newsgroups" on BOTH servers. So pgpverify seems 
to be working fine.

If I run "echo <path to control message> | controlchan" on each server, it 
works on the 2.4.1 server but fails on the 2.3.5 server. This seems to be 
because controlchan is trying to execute "sm -q <path to control message> 
|pgpverify" which fails because <path to control message> is not a token.

However, I think that may be a red herring. The real cause seems to be 
that gpgv is exiting with status 2 when run via controlchan (but not when 
running pgpverify manually).

Any ideas?

Thanks,

Mike.
Technical Details
Message-ID: <c63g70$ii1$1@mallard.zanker.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.wirehub.nl!news2.euro.net!news.cambrium.nl!news.cambrium.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news.zanker.org!newsreader.zanker.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <c63g70$ii1$1@mallard.zanker.org>
Subject: Weird pgpverify problem
Date: Tue, 20 Apr 2004 15:39:12 +0000
From: Mike Zanker <not-for-mail@zanker.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.wirehub.nl!news2.euro.net!news.cambrium.nl!news.cambrium.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news.zanker.org!newsreader.zanker.org!not-for-mail
Newsgroups: news.software.nntp
Organization: zanker.org
Lines: 32
Sender: Mike Zanker <mike@mallard.zanker.org>
NNTP-Posting-Host: mallard.zanker.org
X-Trace: mallard.zanker.org 1082475552 19009 217.169.19.66 (20 Apr 2004
X-Complaints-To: abuse@zanker.org
NNTP-Posting-Date: Tue, 20 Apr 2004 15:39:12 +0000 (UTC)
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (Linux/2.4.21-9.0.1.EL (i686))