Article View: news.software.nntp
Article #64113Re: xBin Message-ID convention
From: Curt Welch
Date: Sat, 22 Feb 2003 01:13
Date: Sat, 22 Feb 2003 01:13
61 lines
3705 bytes
3705 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Curt Welch]: > > > > I think > > the odds of "needing" to swtich to a new hash is so small (this > > isn't a security application), and the problems that would arrise > > so great if you changed, that it would just never happen. > > I agree. so how about we just drop the possibility of changing the > hashing algorithm? if need be, we can make a new ~XH~...~~ to > complement the xBin information... Works for me. We can revist later if someone comes up with a good reason for why we will want to change it. > H hash, the most significant bits of the root hash. at least 72 > bits MUST be included. the number of bits MUST be a multiple of > 18. the type is data. this parameter is mandatory. > > the reason for "multiple of 18" is to avoid the need to understand > equals sign padding... Haven't you mixed up your 3's and 4's? (3x8 vs 4x6 vs 3x6). It has to be "multiple of 24" if you are going to prevent partial bytes which I believe is what you were aiming for. In any case, the MIME Base64 equal sign stuff is unneeded (except as a slight consistency check). I don't know why they added it in the first place. I however was thinking the correct thing to specify was "Multiple of 6". And requiring some minimual like 72 is fine, but the parsing tools should work if there were less bits - i.e. an xBin ID with only 24 bits of hash data should not be rejected as invalid if that is all that was wrong with it. > not sure if a numerical value and a registry is better or worse than a > freeform string: > > T type of file. the type is string. this parameter defaults to > "data". > > the string data type may be giving people too much rope. I still have to read your latest wording on the entire spec, but my thought was to try and limit "data" to be from the Base64 character set for all arguments to make it easy to parse and spot a valid xBin ID without any semantic knowledge. So this would mean that "~Trepost~~" was valid even if it was a bit odd. But thinking of it as Base64 data is not the same as thinking of it as a number, because numbers can have leading zeros which in effect have no "meaning". i.e. ~TAB is the same as TB. So I guess I agree that we should not think of it as a "numeric" value. I guess. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20030221201353.832$IG@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<1rvg0ehvar.fsf@vingodur.ifi.uio.no> <20030203033140.853$4N@newsreader.com> <1r3cn3pnx1.fsf@vingodur.ifi.uio.no> <20030207234048.235$SM@newsreader.com> <1rk7g4997s.fsf@vingodur.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <20030221201353.832$IG@newsreader.com>
Subject: Re: xBin Message-ID convention
Date: Sat, 22 Feb 2003 01:13:53 +0000
From: curt@kcwc.com (Curt Welch)
References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <20030203033140.853$4N@newsreader.com> <1r3cn3pnx1.fsf@vingodur.ifi.uio.no> <20030207234048.235$SM@newsreader.com> <1rk7g4997s.fsf@vingodur.ifi.uio.no>
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!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com MX=FlnbeIJLyP,G8,ID0fwysYSUa-H9kfG81zfw8__1rSu@Pp
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 60