🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57246

Re: Cancelling usenet messages in a reliable way (a proposal) - Final :)

#57246
From: Alex Birj
Date: Fri, 15 Mar 2002 11:48
75 lines
4308 bytes
ok, the last time (but I don't care, if one wants cancel locks I would agree to 
cancel locks, just we should check whether SHA is resilient to find collision 
attacks in the long term - I don't know, but I'm more sure about ciphers)  - I 
just want to see a kind of this option some time in the future.

First a random 16 byte password is generated that can be reused, it is your 
personal 128 bit RC5 symmetric key.

The idea is simple - to add to the article headers containing text and 
ciphertext, and to send a symmetric key to verify the cancel (the server will 
apply the key to the text and will compare result with the ciphertext, the task 
of breaking this would amount to breaking the cipher itself since it is one to 
one function, just a permutation, if you find a 'collision' - you have the key 
- I mean when block size=key size, just we take block size 16 bytes).

To do all that - first we generate 16 bytes of random text (on per post basis)

The question is then what symmetric key we will use to produce the ciphertext.

We just encrypt the random text with our personal symmetric key to get the 
symmetric key for this specific article.

Then we will encrypt the text with the symmetric key we've just produced and 
thus we got the ciphertext.

Now we add among posted article headers:

Cancel-Rand: our original random text
Cancel-ID: our ciphertext

Now suppose we want to cancel the article.

In the exactly same way we can easily produce the symmetric key from the random 
text from article headers with the help of our personal symmetric key.

Then among control cancel headers we will add:

Cancel-Key: the symmetric key for the specific article

Now server may apply the key, compare the result and verify that the cancel is 
genuine.

We can omit Cancel-Rand if newsserver doesn't force its message-id (so 
message-ids might be generated by newsreaders).

As the text we will take MD5 hash of message-id+24 originally random bytes that 
are predefined (always the same and known)

MD5 hash has is exactly 16 bytes, so we will use it as the random text in the 
case the Cancel-Rand header is missing (just an agreement to get rid of one 
header and reduce the overhead to only 22 base64 encoded bytes).

Peter Fairbrother <peter.fairbrother@ntlworld.com> wrote:
>Sorry to top-post, but I can't make out what you're doing. Can you explain
>simply, without all the details? At a glance this protocol seems flawed, but
>maybe I missed something.
>
>What's wrong with relying on the difficulty of finding hash collisions? You
>obviously aren't a cryptographer, that's ok, but most if not all of us would
>say that can be about as secure as you can get (anent otp, which isn't
>relevant here), and is certainly secure enough for this use if properly
>implemented (I don't know anything about cancel-locks though).
>
>I also don't understand why you would want to cancel Usenet messages (ok,
>I've posted messages and within seconds of doing so realised I making a
>fool/pest of myself, but they have been seen and archived by then). Further,
>are you going to ask Usenet servers to add code to do this? I can't see why
>they would.
>
>Please cc any replies, as I don't read this newsgroup.
>
>-- Peter Fairbrother
>

Technical Details
Message-ID: <eclk8.5$ft6.13262@news.uswest.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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
References: <MQFj8.183836$a_1.18013001@amsnews03.chello.com> <fcfk8.290$jt4.316619@news.uswest.net> <B8B75AE3.1659F%peter.fairbrother@ntlworld.com>

Show Full Headers
Complete Article Headers
Message-ID: <eclk8.5$ft6.13262@news.uswest.net>
Subject: Re: Cancelling usenet messages in a reliable way (a proposal) - Final :)
Date: Fri, 15 Mar 2002 11:48:26 GMT
From: Alex Birj <alexande_nospam@tx.technion.ac.il>
References: <MQFj8.183836$a_1.18013001@amsnews03.chello.com> <fcfk8.290$jt4.316619@news.uswest.net> <B8B75AE3.1659F%peter.fairbrother@ntlworld.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
Newsgroups: news.software.nntp,sci.crypt
Lines: 74
NNTP-Posting-Host: 216.207.251.2
X-Trace: news.uswest.net 1016192906 216.207.251.2 (Fri, 15 Mar 2002 05:48:26 CST)
NNTP-Posting-Date: Fri, 15 Mar 2002 05:48:26 CST