🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63629

Re: Question: Protecting multiposts with cryptography

#63629
From: Klaas
Date: Sat, 25 Jan 2003 04:57
120 lines
4911 bytes
After careful consideration, Juergen Helbing muttered:

> ----- descriptive text -----
> [1/10]  (1/10) <md5> <msgid+random> <identifier>
> ...
> [10/10] (23/23) <md5> <msgid> <identifier>
> 
> The trick:  <md5> and/or <msgid> and/or <identifier> 
> are ____encrypted______
 
Okay.
 
> Now I am posting ALL the described parts:
> 
> Subject:  ... [1/10] .... (1/10) ....
> MessageId: <msgid+random>
> X-MD5:  <md5>
> X-Key: <key>
> X-yBin: huge binary

How about <size> rather than "huge binary" if you must include that header?

> Now the trick:
> 
> The <key> inside the particular message is used to
> ____decrypt____  the <md5> and/or <msgid> from the 
> initially posted list.

Problem:  Fakes can be sent out with identical headers and different 
bodies.  If it'is "just" the md5 or an identifier than there isn't even an 
issue with duplicate message ids, and the faker works at will.  You've 
gained little information about whether the post is properly part of the 
set (insofar as the body is concerned).  The exponential time combination 
necessary to sort out the fakes from the genuine articles still exists.
 
> This would permit:
> 
> All parts of a multipost (no matter what's inside) are
> described. If the msgid is included, then a host can
> assemble everything automatically.

This obviously won't work on servers that don't allow message id 
specification.

> If someone really fetches one partial message then he could
> send out a fake. But he needs a second server. And he needs
> to be "faster". And it would be just a duplicate. The original
> message would still come in.

Which still leaves the client-side combination problem. 
 
> The advantages of this method would be:
> 
> Nobody can start faking without the initial message.

The initial message can be faked.  Otherwise, same with xBin.

> This one is small - and propagates quickly.

xBin overhead is small and doesn't require an additional article.

> Nobody can send fakes until he has received the original
> part.

Same wiht xBin if you want the hashes to match.

> Faking results just in duplicates. 

When is this not the case?

> Automatic assembler (News->Web services) can still sort out fakes 
> easily.

In exponential time.  Linear for xBin.

> It might be posssible to fetch "missing parts" from other
> "systems" with the <msgid+random>

Not sure what special meaning you convey on systems by quoting it.

> Every single message is protected.

xBin...

> All multiparts are protected.

xBin...

> Collections and multiposts are protected.

Collection-protection is one interesting addition.
 
> We dont need to store extended info in the msgid.
> The x-yBin header identifies such posts for sites
> which want to filter - or expire - or whatever.

Well, that isn't needed for xBin either.  It would be a convenience at most 
for both your system and xBin.

> Perhaps we could/should even leave the msgid out
> of scope and use just another 'identifier'-

I believe your scheme becomes significantly weaker in such a scenario.
 
> Question: What kind of encryption could be used to protect
> the values in the index file ?  
> (It should create a plain ASCII 33-126 output) ?

Someone else suggested pgp, but I don't think that is ideal.  It seems to 
me that a hash would be the simplest solution.  The index file lists 
hashes, and to verify a post, hash the msgid/identifier/whatever and 
compare it.  No need for a key.  As long as you use a cryptologically 
secure hash (SHA1, MD5(?)), you should be safe.  

Otherwise, a symmetric key cryptosystem (f.i., AES) would be faster than 
pgp.  If you'd like to continue this idea I could give you some advise on 
the cryptology.

-Mike
Technical Details
Message-ID: <Xns930D83E157FA6nothing@209.98.50.131>
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!newsfeed-east.nntpserver.com!nntpserver.com!phobos.visi.com!news-out.visi.com!green.readfreenews.net!news.readfreenews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
References: <25388.n13203@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <Xns930D83E157FA6nothing@209.98.50.131>
Subject: Re: Question: Protecting multiposts with cryptography
Date: Sat, 25 Jan 2003 04:57:30 +0000
From: Klaas <spamhole@klaas.ca>
References: <25388.n13203@archiver.winews.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!newsfeed-east.nntpserver.com!nntpserver.com!phobos.visi.com!news-out.visi.com!green.readfreenews.net!news.readfreenews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: This is a valid email address
User-Agent: Xnews/5.04.25
Lines: 119
NNTP-Posting-Date: 24 Jan 2003 22:57:30 CST
NNTP-Posting-Host: 8cfdac2b.authen.yellow.readfreenews.net
X-Trace: DXC=KPEeLBY:;S\XXWXmcV7BO^bQ9W<K20`3RO6Gh9bA988^60_JbYU@J_S4E?RHcOQk;UY0]T72P?cg\5k46<Vj:IRW
X-Complaints-To: abuse@readfreenews.com