🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62869

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

#62869
From: Klaas
Date: Tue, 07 Jan 2003 04:55
50 lines
3509 bytes
After careful consideration, Russ Allbery muttered:

> 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.

Thanks - I wasn't aware of that.

>> 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.

I agree with both these statements.  The main advantage to me is below.

>> 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.

Yes, but at least the old software could be written in a way to handle 
this gracefully.  If you were implementing the protocol as it exists 
currently, a header without a known hash type could warn the user 
(instead of failing silently).  It could also still use the hash to 
assemble parts of a file (albeit without being able to verify the tree).

You're right that this is a somewhat trivial issue (particularly at this 
point), and I didn't intend to make a big deal about it, but I like the 
flexibility of attributizing the hash type.

-Mike
Technical Details
Message-ID: <Xns92FC838605D83nothing@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.uchicago.edu!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!priapus.visi.com!news-out.visi.com!green.readfreenews.net!news.readfreenews.net!authen.yellow.readfreenews.net.POSTED!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> <ylu1glvj65.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Xns92FC838605D83nothing@209.98.50.131>
Subject: Re: Power-Post 2003 - requesting input from authorities..
Date: Tue, 07 Jan 2003 04:55:56 +0000
From: Klaas <spamhole@klaas.ca>
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> <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!news.uchicago.edu!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!priapus.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: 49
NNTP-Posting-Date: 06 Jan 2003 22:55:56 CST
NNTP-Posting-Host: 6cef4a7c.authen.yellow.readfreenews.net
X-Trace: DXC=Pl8Q=HR@;l53P56noR8TS8bQ9W<K20`32O6Gh9bA988>=h_iOJDP<654E?RHcOQk;5Y0]T72P?cg<<lM7SL^]PG2
X-Complaints-To: abuse@readfreenews.com