🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57239

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

#57239
From: Peter Fairbrother
Date: Fri, 15 Mar 2002 08:01
120 lines
5944 bytes
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


Alex Birj  wrote

> I thought that another modification of the original scheme also makes sense
> since enforcing using message-id may be not acceptable (e.g. some servers may
> want to generate message-ids themselves).
>
> I'm not sure there are no flaws in the scheme so I crossposting the message to
> sci.crypt, maybe someone could check it out (the original message is appended,
> in the thread someone pointed me out to cancel-locks but I found out they are
> using different approach - relying on the difficulty to find hash collisions
> that doesn't look to me safe enough especially if we can come out with a much
> more safe method).
> 
> The only problem is keeping key for every message, that is how it can be
> avoided (no using hash algorithms at all):
> 
> First lets us use 128 bit (16 byte) ciphers. All what I had originally said
> remains true.
> 
> The small trick to avoid keeping the key.
> 
> We'll just keep reusable randomly generated 16 byte "password", so we when we
> generate random text - we just encrypt the random text with the password to
> get 
> the symmetric key).
> 
> We use the symmetric key to encrypt the random text to get the ciphertext.
> 
> When we want to issue cancel - we can easily get the key again from the random
> text (in the message) and our "password".
> 
> Probably we can use both variants of the scheme by separating headers:
> 
> Cancel-ID: <ciphertext>
> Cancel-Rand: <text>
> 
> When Cancel-Rand is present - the newsreader/server will just use it,
> otherwise 
> it will calculate it from the message-id like I described in my other message:
> 
> text=MD5(function1(message-id))
> 
> key=RC5(MD5(function2(message-id)))
> (RC5 is invoked with the 16 byte "password" as the encryption key).
> 
> function1 is message-id+padding1
> 
> function2 is message-id+padding2
> 
> padding1 and padding2 are predefined sequences 24 byte length.
> 
> Alex Birj <alexande_nospam@tx.technion.ac.il> wrote:
>> Some considerations about cancelling Usenet messages:
>> 
>> I think Usenet need simple mechanism to support verifyable cancels that will
>> force servers to cancel messages, I have a simple solution (should be
>> supported 
>> on the server side) that will be achieved by adding a relatively short header
>> field using symmetric cipher. Currently many servers don't support cancels
>> because of possible forged cancels.
>> 
>> The scheme is the following:
>> 
>> for every posted message a random symmetric key is generated and kept by
>> newsreader or written to a file.
>> 
>> random text is generated and encrypted with the key
>> 
>> length of the text=length of the key=symmetric cipher block length
>> 
>> then cancel id is generated from the base64th ciphertext+text (concatenation)
>> 
>> Cancel-ID: Base64(concatenation(ciphertext,text)) [Algorithm]
>> 
>> Default symmetric cipher algorithm may be RC5, but it would be possible to
>> add 
>> other algorithm by defining its name explicitly.
>> 
>> When we want to cancel the message we should add the header:
>> 
>> Cancel-Key: Base64(key) [Algorithm]
>> 
>> the server will decrypt the ciphertext with the key and compare with the text
>> if they coincide the cancel is approved.
>> also message-id is compared.
>> 
>> Currently it is quite safe to use 64bit key, the weakened RC5 challenge
>> stands 
>> since 1997 unsolved, it is also possible to use 128bit keys
>> that are currently used for high-grade secure connections.
>> 
>> with 64 bit key 8+8=16 bytes will be encoded to 22 bytes base-64, for 128bit
>> key - 44 bytes.
>> 
>> Alex
>> 
> 

Technical Details
Message-ID: <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!newsfeeds.belnet.be!news.belnet.be!opentransit.net!proxad.net!news-hub.cableinet.net!blueyonder!newspeer.clara.net!news.clara.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!news2-win.server.ntlworld.com.POSTED!not-for-mail
References: <MQFj8.183836$a_1.18013001@amsnews03.chello.com><fcfk8.290$jt4.316619@news.uswest.net>

Show Full Headers
Complete Article Headers
Message-ID: <B8B75AE3.1659F%peter.fairbrother@ntlworld.com>
Subject: Re: Cancelling usenet messages in a reliable way (a proposal) - Final :)
Date: Fri, 15 Mar 2002 08:01:39 +0000
From: Peter Fairbrother <peter.fairbrother@ntlworld.com>
References: <MQFj8.183836$a_1.18013001@amsnews03.chello.com><fcfk8.290$jt4.316619@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!newsfeeds.belnet.be!news.belnet.be!opentransit.net!proxad.net!news-hub.cableinet.net!blueyonder!newspeer.clara.net!news.clara.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!news2-win.server.ntlworld.com.POSTED!not-for-mail
User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630)
Newsgroups: news.software.nntp
Mime-version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Lines: 119
NNTP-Posting-Host: 62.255.6.9
X-Complaints-To: abuse@ntlworld.com
X-Trace: news2-win.server.ntlworld.com 1016179301 62.255.6.9 (Fri, 15 Mar 2002 08:01:41 GMT)
NNTP-Posting-Date: Fri, 15 Mar 2002 08:01:41 GMT
Organization: ntlworld News Service