🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63649

Re: Verifying control messages

#63649
From: those who know me have no need o...
Date: Sun, 26 Jan 2003 01:56
34 lines
2351 bytes
in news.software.nntp i read:

>While working on my own pgpverify() for Cyrus NNTP, it appears from
>testing with sample.control that when recreating the original signed
>message, each line is terminated with just "\n" and not with "\r\n" as
>appears when the message is tranmitted via NNTP.  Is this correct and
>can it be assumed that this will always be the case?  

is it correct operation?  no not really.  but it is the way the scripts
work.  the scripts were all written on a unix system, and initially in
something of a rush.  current versions of pgpverify understand this problem
and will convert wire-format end-of-line termination (<cr><lf>) to unix eol
(<lf>).

>what sort of intelligence needs to be built into the verification
>function?

do as pgpverify does, convert <cr><lf> to <lf> in a copy of the message,
before trying to verify the signature.

>Also, does anyone have an archive of control messages that I can use for
>testing?  

<ftp://ftp.isc.org/pub/usenet/control/>.  pick any managed hierarchy (e.g.,
any of the big8) below there, in that directory are compressed files
containing all the control messages received by the isc for each group.
you'll only want relatively recent (post 1996) groups -- for recently
created groups check news.announce.newgroups, the control messages will all
be signed.  e.g.,
<ftp://ftp.isc.org/pub/usenet/control/rec/rec.skiing.alpine.moderated.Z>

-- 
bringing you boring signatures for 17 years
Technical Details
Message-ID: <m1k7gsoghl.gnus@usa.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.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-for-mail
References: <3E33293F.DBA48910@oceana.com>

Show Full Headers
Complete Article Headers
Message-ID: <m1k7gsoghl.gnus@usa.net>
Subject: Re: Verifying control messages
Date: Sun, 26 Jan 2003 01:56:24 +0000
From: those who know me have no need of my name <not-a-real-address@usa.net>
References: <3E33293F.DBA48910@oceana.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: earthfriends
User-Agent: Gnus/5.090015 (Oort Gnus v0.15) XEmacs/21.4 (Military
 Intelligence, i686-redhat-linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@supernews.com
Lines: 33