🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70545

pgpverify under Windows

#70545
From: Graham Drabble
Date: Sat, 01 Jan 2005 16:23
47 lines
2350 bytes
Hi all,

Firstly can anyone confirm that <cmsg-20041228210001$0406@isc.org> 
has a valid PGP sig?

I'm trying to write a perl script (I'm using ActivePerl 5.8.6) that 
will scan control.newgroup and control.rmgroup and then check to see 
which hierarchy the control message is affecting and then (if it's a 
hierarchy we are interested in) run PGP verify on it. I've made the 
following alterations to pgpverify:

removed #! line and replaced with "use warnings;" - this is perl 
under Windows, we don't use shebang lines.

Set $gpgv = '/Progra~1/gnupg/gpgv.exe';

commented out $pgp - not installed

$keyring = '/gnupg/pubring.gpg';

$tmpdir = "/temp";

$syslog_method = '';

My script, the modified pgpverify and the ini file used by my script 
are available from http://users.ox.ac.uk/~sjoh1646/ctrl-message.zip .

When I run it (the above message is the only Big8/uk.* control 
message on spool) I get:

Sat Jan  1 16:11:31 2005pgpverify.pl: verification failed
Sat Jan  1 16:11:31 2005... while processing <cmsg-20041228210001
$0406@isc.org>
rmgroup soc.history.african.biafra: 65280

The last line is from my script in the form
<Control-header>: <exit-code-from-PGPVerify>

Any guesses? That isn't a code that PGPVerify is supposed to produce!

For information I'm connecting to Hamster Playground 1.22 .

-- 
Graham Drabble
If you're interested in what goes on in other groups or want to find 
an interesting group to read then check news.groups.reviews for what 
others have to say or contribute a review for others to read.
Technical Details
Message-ID: <Xns95D1A6D3D476grahamdrabblelineone@ID-77355.user.dfncis.de>
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.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns95D1A6D3D476grahamdrabblelineone@ID-77355.user.dfncis.de>
Subject: pgpverify under Windows
Date: Sat, 01 Jan 2005 16:23:59 GMT
From: Graham Drabble <graham.drabble@lineone.net>
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.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Home
Lines: 47
X-Trace: individual.net 1xFpxVMskEaAKRe+mVxE/AlsbZ1hZoZ8vcvS74Ruz1yepSiiY=
User-Agent: Xnews/5.04.25 Hamster-Pg/1.22