Thread View: news.software.nntp
2 messages
2 total messages
Started by Ken Murchison
Wed, 12 Feb 2003 20:07
Verifying control messages (revisited)
Author: 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
Re: Verifying control messages (revisited)
Author: Russ Allbery
Date: Wed, 12 Feb 2003 20:56
Date: Wed, 12 Feb 2003 20:56
54 lines
2847 bytes
2847 bytes
Ken Murchison <ken@oceana.com> writes:
> - 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)?.
INN first checks to be sure the right address, per control.ctl, is in the
From or Sender header, and then checks the public key signature. Most of
the public keys used for newsgroup signing don't have anything like an
e-mail address in their key ID.
> - For cancel messages, is any verification of cancel messages common?
No.
> - Are there any known collisions between PGP public keyids typically
> used for control messages?
None known at present.
> 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).
Yup. This is true.
> - Has anybody ever seen a DSA signature (or RSA with non-MD5 hash) used
> in practice?
Yes.
> If so, could you send me one for testing?
I don't still have one around, I'm afraid.
> - Anything else that I should be concerned with regarding control
> messages?
Be aware that floods of tens of thousands of control messages with fake
PGP signatures are extremely common.
I'm the current maintainer of the information on ftp.isc.org, if you have
any further questions about the specifics of it. I've not yet written up
a policy document about the rules that I follow in maintaining that
archive.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads