🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62857

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

#62857
From: Russ Allbery
Date: Tue, 07 Jan 2003 01:32
47 lines
3158 bytes
Klaas <spamhole@klaas.ca> writes:
> After careful consideration, Russ Allbery muttered:

>> If you call it Content-Hash-Tree, you need to add some identifier to
>> the hashes saying what algorithm they're using, whereas if you put the
>> algorithm in the header name, you can just introduce a new header when
>> you want to change algorithms.

> True, but is that really a problem?  X-Pgp-Sig contains pgp version,
> signed headers, and the signature and it seems like a reasonable
> solution.

Whatever you do, don't emulate X-PGP-Sig.  The version there is completely
useless.

> MIME headers already contain more than one attribute.

Sure.  But then you have to apply a parser to it, since it makes the
header structure slightly more complicated.

It's really not that big of a deal either way.  I'm just saying that it's
not an obvious decision.

>> The latter can be better for backward compatibility under some
>> circumstances, although I'd guess that it's usually a wash.

> You would have to use both algorithms in the same posting to preserve
> backward compatibility, and if you're going to do that, there's not much
> point in changing algorithms.

The same is true either way.  How does is old software that only knows the
old algorithm going to process new hashes?

How you tag which version you're using is irrelevant to that problem.

> The clear advantage in my view is for the developer if the algorithm is
> changed in the future.  It would be easier to add support for a new hash
> type than change the header parsing code.

True, marginally.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylu1glvj65.fsf@windlord.stanford.edu>
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!shelby.stanford.edu!not-for-mail
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <ylof6vxswg.fsf@windlord.stanford.edu> <1041805796.462257@ok-corral.gunslinger.net> <1rsmw7dtt7.fsf@ellifu.ifi.uio.no> <1041817429.714471@ok-corral.gunslinger.net> <1rel7rdo1d.fsf@ellifu.ifi.uio.no> <Xns92FB69E20C612nothing@209.98.50.131> <ylbs2vvv4j.fsf@windlord.stanford.edu> <Xns92FC5F0F7EE27nothing@209.98.50.131>

Show Full Headers
Complete Article Headers
Message-ID: <ylu1glvj65.fsf@windlord.stanford.edu>
Subject: Re: Power-Post 2003 - requesting input from authorities..
Date: Mon, 06 Jan 2003 17:32:34 -0800
From: Russ Allbery <rra@stanford.edu>
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <ylof6vxswg.fsf@windlord.stanford.edu> <1041805796.462257@ok-corral.gunslinger.net> <1rsmw7dtt7.fsf@ellifu.ifi.uio.no> <1041817429.714471@ok-corral.gunslinger.net> <1rel7rdo1d.fsf@ellifu.ifi.uio.no> <Xns92FB69E20C612nothing@209.98.50.131> <ylbs2vvv4j.fsf@windlord.stanford.edu> <Xns92FC5F0F7EE27nothing@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!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 46
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1041903154 1624 171.64.13.23 (7 Jan 2003 01:32:34 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:FzORWajcP2FDQizj5OIr8m42qUo=