Article View: news.software.nntp
Article #64016Verifying control messages (revisited)
From: Ken Murchison
Date: Wed, 12 Feb 2003 20:07
Date: Wed, 12 Feb 2003 20:07
36 lines
2801 bytes
2801 bytes
Having just about completed my home grown pgpverify() function (based only on OpenSSL) for Cyrus nntpd, I have several questions regarding the best common practice for verification. - For newgroup/rmgroup/mvgroup messages, is verifying the PGP signature sufficient or do people also try to make sure that the the User ID of the corresponding public key appears in one of the headers (From, Approved)?. - For cancel messages, is any verification of cancel messages common? I'm assuming that these messages typically aren't signed, but should the headers of the control message and the target article be compared in any way (other than getting the correct msgid of course)? - Are there any known collisions between PGP public keyids typically used for control messages? In my testing of numerous control messages from the archives at ISC, it appears that they all use RSA/MD5 signatures (type 3 sig in an old style packet) which doesn't guarantee unique keyids (see sections 3.3 and 11.2 of RFC 2440bis). - Has anybody ever seen a DSA signature (or RSA with non-MD5 hash) used in practice? If so, could you send me one for testing? I tried making my own using GPG, but the SHA1 doesn't match what I get in my verification function. - Anything else that I should be concerned with regarding control messages? TIA, Ken -- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
Technical Details
Message-ID:
<3E4AA994.27F27D3C@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!newsfeed.stanford.edu!nntp.cs.ubc.ca!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!news-stk-2.sprintlink.net!news-west.sprintlink.net!news-in-west1.sprintlink.net!news.sprintlink.net!bogey.oceana.com!eagle.oceana.com!lmtp2nntp!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <3E4AA994.27F27D3C@oceana.com> Subject: Verifying control messages (revisited) Date: Wed, 12 Feb 2003 15:07:48 -0500 From: Ken Murchison <ken@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!newsfeed.stanford.edu!nntp.cs.ubc.ca!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!news-stk-2.sprintlink.net!news-west.sprintlink.net!news-in-west1.sprintlink.net!news.sprintlink.net!bogey.oceana.com!eagle.oceana.com!lmtp2nntp!not-for-mail Newsgroups: news.software.nntp Organization: Oceana Matrix Ltd. Lines: 35 NNTP-Posting-Host: eagle.oceana.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: eagle.oceana.com 1045080344 17642 127.0.0.1 (12 Feb 2003 20:05:44 GMT) X-Complaints-To: news@eagle.oceana.com NNTP-Posting-Date: Wed, 12 Feb 2003 20:05:44 +0000 (UTC) X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf