On Mon, Oct 01, 2001 at 10:03:22PM -0700, Patrick Oscar Boykin wrote:
> I was just taking a look at:
> http://www.ietf.org/rfc/rfc2141.txt
> 
> and I was wondering why freenet's "URLs" such as CHK, SSK, KSK, etc.
> were not done as URN's?

Actually, they are URIs I think. 

> Particularly, it seems that CHK's are the same as something more
> general: urn:sha1:<sha1 hash>.  It seems a shame not to take advantage
> of these ideas.

No, it's not that simple. All SHA1s are not equal. For two identical
pieces of data two end up with the same SHA1 based keys, then the entire
format for the data must be exactly the same - all splitting, padding,
encrypting, formatting, error checking, metadata etc etc must be
strictly defined. Freenet CHKs will not match with SHA1 indentifiers
generated by any other program.

> Viewed in this light, freenet is a system for locating and publishing
> certain urn types (maybe urn:sha1: urn:freenet:<freenet key here>).

Freenet is a system for locating a publishing data. Just because some
committee wrote a fluffy RFC about a naming format for data does not
mean that all data publishing is suddenly subsidiary to it.

> Freenet "URLs" are not URLs at all.  They do tell you the location of
> data, only a standard way to refer to it.
> 
> One answer to this question might surely be: "We don't care about
> buzzword compliance" so it doesn't matter what you call the freenet
> urls.  On the other hand, interoperability is cool.  If you standardized
> on URN's then one can imagine bridging different content systems (like
> freenet, gnutella, etc... with the use of urn's) quite easily.

We have discussed the matter of standardizing the generation of
identifier values for data with other projects - however the shared
opinion has been that in light of all the restrictions that makes it is
simply not worth it at this point (while the projects, and the concept
itself, are still in development).

Given that our key values are specific to Freenet, I see no reason to go
with the AFAIK unused URN syntax rather than common and recognizable
URIs. It's a client issue anyways.

> Any thoughts on this?
> 
> Oscar Boykin.
> -- 
> boykin at pobox.com        http://pobox.com/~boykin        ICQ: 5118680
> Key fingerprint = 159A FA02 DF12 E72F B68F  5B2D C368 3BCA 36D7 CF28



-- 
Though here at journey's end I lie 
  In darkness buried deep,          above all shadows rides the Sun
beyond all towers strong and high,    and the Stars forever dwell:
  beyond all mountains steep,       I will not say the Day is done,
                                      nor bid the Stars farewell.
(JRRT)

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to