🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62511

Re: Power-Post 2003 - requesting input from authorities..

#62511
From: Rene
Date: Sun, 29 Dec 2002 12:41
153 lines
8222 bytes
Jeremy <jeremy@exit109.com> wrote:
> > A cryptographic signature proves the post came from someone holding the
> > key.
> Technically, it also proves that the post is intact and hasn't been
> modified in transit.

Yes, that's the common point of the two proposals.

> But, that's actually the point.  The idea is to prevent atttacks against
> a series of posts.  If you can see that they all came from the same
> person, the job is done -- no one is going to attack his own posts, and
> anyone can attack his own posts in any case, so no big deal.  Downloading
> something is, after all, placing some level of trust in the poster
> (depending on what it is you're downloading) anyway.

I'm pretty sure, many people don't want to be directly associated by their
posts :)

Your systems creates a strong link from article <-> poster
xBin creates a strong link from article <-> file.

So with xBin, the poster is irrelevant. It could be one person, it could be
10 different persons. What matters is the file. And downloaders want a
file, not a poster's personal data...

> As for third-party fills, you are again trusting the poster, no matter
> what system is in use, which is what cryptographic authentication is
> made for.

How do I find a trusted fill-poster for a file?

> >  But to veryify that, you have to go get his key and check it against
> > his post.
> Any verification would have to be checked against the post, and getting
> the key takes, what, five seconds?

How do I get the poster's public key to verify his signature ? Setting up a
PKI?

And even if you'd use a public key infrastructure, that is already in
place, like PGP for example, I think that many posters don't want to be
traced back as the originator (since they hold the private signature key).
So they would need to change the keys often, making the whole system of
"trust" unusable.

Also, with this system, a poster needs to create a key set (public +
private), publish the public key, sign the postings and send the posting
signed. Most if not all of these steps can be automated, yes.

But with xBin, none of that is necessary. All the information is created
using the original file's data. There's no out-of-band information (the
public key) relying on another system (the PKI).

Download one article of a file, and you already have all the information
you need to verify that article. You won't need additional keys, additional
systems, nothing. You have all you need.

So is xBin more complex? Yes, a little bit. But only if we look at the
final steps a decoder/download tool has to perform. If we include a fully
working PKI, then your system is far more complex to set up and/or
maintain.

> > But here comes the probem.  If you make it all this automatic, then
> > posting forged messages to intentially fuck up someones multipart post
> > becomes real easy.
> Exactly.  Cryptographic signatures make "forged" posts impossible.

Yes, but the system has the same problems... you need a safe way of ensure
the keys you hold and use are secure.

I mean, using your system, you can cut out the PKI, just post an article,
sign it with your key, post the result AND the public key, so everyone can
verify the article without the use of a cumbersome PKI, right?

No - that's wrong. For in that case, an attacker simply creates a block of
junk data, creates his own key, signs his junk and creates an article with
that junk-data, the (correct) signature of that junk data and his public
key. Now if a downloader gets that article first, how can it decide if that
is the wrong part or yours ? It simply cannot know which signature it
should trust.

You see, for your system to work, you really need a PK-Infrastructure and a
way to express trust-relationships (called web of trust in PGP, IIRC) So
that in the end makes your system far more complex than xBin.

Especially considering the more complex parts we've been discussing lately
are things like "what is the worst case number of hashes if we have x
blocks with a blocksize of y each". This was a not-so trivial problem.
However, a encoder/decoder for xBin will *never* need to perform that,
although I now have the code to do that. This was only necessary to be able
to find a good blocksize. Once an xBin standard is done, the blocksize will
be fixed in that standard and client software won't have to bother.

All they will have to do is build up a tree structure in memory and
traverse that structure in a special way. And being able to calculate a
hash.

But xBin is no standard yet. And we need to determine what additional data
must be transmitted and how much of that will ever be there and what we can
omit, to be able to find good parameters so that xBin won't be only a good
standard today, but also tomorrow.

> Of course, you're talking about verifying the data and I'm talking about
> verifying the poster, but I see downloading random binaries as an act of
> placing trust in the poster anyway -- sure, you can "prove" that the data
> goes with the file, but you can't show that the poster was honest about
> what the file *is* until you assemble it and try to use it.  Even two

That is true. xBin ensures only that you will get a file completely, but
not what the content of the file actually is. But neither does your system.
So that's a trust thing anyway.

> posts of the same "thing" are not unlikely to hash differently.

With xBin, if "the same thing" means a file that is bit for bit the same,
then the file MUST have the same hash.

> So, yeah, we're both talking about solutions to the same problem, but I
> was thinking socially, and you were thinking technically.  In the end,
> of course, both approaches could be useful.

You can slap a signature identifying the poster on top of an
xBin-transferred file. You can't do the reverse though. At least I don't
see an easy way.

> I see where this would be useful.  My concern is that the detailed
> discussion was pretty hairy, and you may be creating something which will
> be "defeated" by virtue of being too complex to understand and implement.

For an encoder/decoder the job won't be too hard. There are some
non-trivial problems in these trees, as I stated, yes. But they are not
really of importance for a final decoder/encoder.

We're currently tackling on desing issues, and to have data to base
opinions thereupon, we need to perform some of the complexer operations on
the trees.

Final software will never need to do that, because it will use the
parameters that will be mandated by the standard. But we need to find
optimal values for these parameters to define the standard. That's more or
less what we're currently discussing.

> > The tree hash may seem complicated when we debate fine points for
> > hours, but it is in fact very simple.
> I hope so. :)

Let me put it that way: If you can implement a heap-sort algorithm, you can
implement xBin in the form it is currently considered.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Technical Details
Message-ID: <20021229074142.765$kG@newsreader.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!logbridge.uoregon.edu!router1.news.adelphia.net!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <20021223125304.154$SI@newsreader.com> <1041111529.600230@ok-corral.gunslinger.net> <20021228232812.093$8R@newsreader.com> <1041152049.240777@ok-corral.gunslinger.net>

Show Full Headers
Complete Article Headers
Message-ID: <20021229074142.765$kG@newsreader.com>
Subject: Re: Power-Post 2003 - requesting input from authorities..
Date: Sun, 29 Dec 2002 12:41:42 +0000
From: Rene <invalid@email.addr>
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <20021223125304.154$SI@newsreader.com> <1041111529.600230@ok-corral.gunslinger.net> <20021228232812.093$8R@newsreader.com> <1041152049.240777@ok-corral.gunslinger.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!logbridge.uoregon.edu!router1.news.adelphia.net!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com Subscriber
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com +.O.r1wRJsiviWq-L+YFxjxza0csmE48c0RLiF_@J/AjMDP
Lines: 152