From exim@www1.ietf.org  Tue Jul  1 09:01:30 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA17417
	for <urn-nid-archive@odin.ietf.org>; Tue, 1 Jul 2003 09:01:30 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h61D10Z20364
	for urn-nid-archive@odin.ietf.org; Tue, 1 Jul 2003 09:01:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19XKkm-0005IL-Gd
	for urn-nid-web-archive@optimus.ietf.org; Tue, 01 Jul 2003 09:01:00 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA17175
	for <urn-nid-web-archive@ietf.org>; Tue, 1 Jul 2003 09:00:57 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19XKke-0004H2-00
	for urn-nid-web-archive@ietf.org; Tue, 01 Jul 2003 09:00:52 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19XKkF-0004Fm-00
	for urn-nid-web-archive@ietf.org; Tue, 01 Jul 2003 09:00:27 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19XKk2-0004nx-K5
	for urn-nid-web-archive@ietf.org; Tue, 01 Jul 2003 09:00:14 -0400
Date: Tue, 01 Jul 2003 09:00:14 -0400
Message-ID: <20030701130014.18162.53002.Mailman@www1.ietf.org>
Subject: apps.ietf.org mailing list memberships reminder
From: mailman-owner@www1.ietf.org
To: urn-nid-web-archive@ietf.org
X-No-Archive: yes
X-Ack: no
Sender: sip-admin@ietf.org
Errors-To: sip-admin@ietf.org
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk

This is a reminder, sent out once a month, about your apps.ietf.org
mailing list memberships.  It includes your subscription info and how
to use it to change it or unsubscribe from a list.

You can visit the URLs to change your membership status or
configuration, including unsubscribing, setting digest-style delivery
or disabling delivery altogether (e.g., for a vacation), and so on.

In addition to the URL interfaces, you can also use email to make such
changes.  For more info, send a message to the '-request' address of
the list (for example, urn-nid-request@apps.ietf.org) containing just
the word 'help' in the message body, and an email message will be sent
to you with instructions.

If you have questions, problems, comments, etc, send them to
mailman-owner@www1.ietf.org.  Thanks!

Passwords for urn-nid-web-archive@ietf.org:

List                                     Password // URL
----                                     --------  
urn-nid@apps.ietf.org                    bacuik    
https://www1.ietf.org/mailman/options/urn-nid/urn-nid-web-archive%40ietf.org



From exim@www1.ietf.org  Thu Jul  3 18:31:24 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA12015
	for <urn-nid-archive@odin.ietf.org>; Thu, 3 Jul 2003 18:31:23 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19YCbR-0001J8-9w
	for urn-nid-archive@odin.ietf.org; Thu, 03 Jul 2003 18:30:57 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h63MUvqA005015
	for urn-nid-archive@odin.ietf.org; Thu, 3 Jul 2003 18:30:57 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19YCbR-0001Ii-4l
	for urn-nid-web-archive@optimus.ietf.org; Thu, 03 Jul 2003 18:30:57 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA11718
	for <urn-nid-web-archive@ietf.org>; Thu, 3 Jul 2003 18:30:53 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19YCbO-0005iu-00
	for urn-nid-web-archive@ietf.org; Thu, 03 Jul 2003 18:30:54 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19YCbM-0005ii-00
	for urn-nid-web-archive@ietf.org; Thu, 03 Jul 2003 18:30:52 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19YCbO-0001EY-JB
	for urn-nid-web-archive@ietf.org; Thu, 03 Jul 2003 18:30:54 -0400
Date: Thu, 03 Jul 2003 18:30:54 -0400
Message-ID: <20030703223054.4508.73853.Mailman@www1.ietf.org>
Subject: apps.ietf.org mailing list memberships reminder
From: mailman-owner@www1.ietf.org
To: urn-nid-web-archive@ietf.org
X-No-Archive: yes
X-Ack: no
Sender: mailman-admin@ietf.org
Errors-To: mailman-admin@ietf.org
X-BeenThere: mailman@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk

There was an error in the last monthly reminder, in that the NOTE WELL
statement (below) was not included. Therefore, the reminder is being
sent out again.

This is a reminder, sent out once a month, about your apps.ietf.org
mailing list memberships.  It includes your subscription info and how
to use it to change it or unsubscribe from a list.

You can visit the URLs to change your membership status or
configuration, including unsubscribing, setting digest-style delivery
or disabling delivery altogether (e.g., for a vacation), and so on.

In addition to the URL interfaces, you can also use email to make such
changes.  For more info, send a message to the '-request' address of
the list (for example, urn-nid-request@apps.ietf.org) containing just
the word 'help' in the message body, and an email message will be sent
to you with instructions.

***************************************************************************


                              Note Well

All statements related to the activities of the IETF and addressed to
the IETF are subject to all provisions of Section 10 of RFC 2026,
which grants to the IETF and its participants certain licenses and
rights in such statements. Such statements include verbal statements
in IETF meetings, as well as written and electronic communications
made at any time or place, which are addressed to

        * the IETF plenary session,
        * any IETF working group or portion thereof,
        * the IESG, or any member thereof on behalf of the IESG,
        * the IAB or any member thereof on behalf of the IAB,
        * any IETF mailing list, including the IETF list itself, any
working
            group or design team list, or any other list functioning
under IETF
            auspices,
        * the RFC Editor or the Internet-Drafts function

Statements made outside of an IETF meeting, mailing list or other
function, that are clearly not intended to be input to an IETF
activity, group or function, are not subject to these provisions.

   
***************************************************************************


If you have questions, problems, comments, etc, send them to
mailman-owner@www1.ietf.org.  Thanks!

Passwords for urn-nid-web-archive@ietf.org:

List                                     Password // URL
----                                     --------  
urn-nid@apps.ietf.org                    bacuik    
https://www1.ietf.org/mailman/options/urn-nid/urn-nid-web-archive%40ietf.org



From exim@www1.ietf.org  Sun Jul 13 11:08:29 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA27211
	for <urn-nid-archive@odin.ietf.org>; Sun, 13 Jul 2003 11:08:29 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19biSJ-0002Jz-Ky
	for urn-nid-archive@odin.ietf.org; Sun, 13 Jul 2003 11:08:04 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6DF83xN008919
	for urn-nid-archive@odin.ietf.org; Sun, 13 Jul 2003 11:08:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19biSJ-0002Jm-9E
	for urn-nid-web-archive@optimus.ietf.org; Sun, 13 Jul 2003 11:08:03 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA27173
	for <urn-nid-web-archive@ietf.org>; Sun, 13 Jul 2003 11:07:58 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19biSG-0005eP-00
	for urn-nid-web-archive@ietf.org; Sun, 13 Jul 2003 11:08:00 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19biSG-0005eL-00
	for urn-nid-web-archive@ietf.org; Sun, 13 Jul 2003 11:08:00 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19biSH-0002JY-AL; Sun, 13 Jul 2003 11:08:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19ahWG-0001gL-Ka
	for urn-nid@optimus.ietf.org; Thu, 10 Jul 2003 15:55:56 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA19348
	for <urn-nid@apps.ietf.org>; Thu, 10 Jul 2003 15:55:52 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19ahWF-0006ip-00
	for urn-nid@apps.ietf.org; Thu, 10 Jul 2003 15:55:55 -0400
Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net)
	by ietf-mx with smtp (Exim 4.12)
	id 19ahWE-0006ia-00
	for urn-nid@apps.ietf.org; Thu, 10 Jul 2003 15:55:54 -0400
Received: (qmail 9134 invoked by uid 65534); 10 Jul 2003 19:55:22 -0000
Received: from pD9588C5A.dip.t-dialin.net (EHLO gmx.de) (217.88.140.90)
  by mail.gmx.net (mp006) with SMTP; 10 Jul 2003 21:55:22 +0200
Message-ID: <3F0DC458.6090401@gmx.de>
Date: Thu, 10 Jul 2003 21:54:00 +0200
From: Benja Fallenstein <b.fallenstein@gmx.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030618 Debian/1.3.1-3
X-Accept-Language: en
MIME-Version: 1.0
To: thiemann@acm.org
CC: p2p-hackers@zgp.org, urn-nid@apps.ietf.org
Subject: Comments on draft-thiemann-cbuid-urn-00
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


[cc:ed to p2p-hackers and urn-nid]

Dear Peter,

I just saw your recent I-D in the archives of the urn-nid mailing list. 
(I'm not subscribed, thus the delay in reaction.)

http://lists.research.netsol.com/pipermail/urn-nid/2003-June/000348.html

I'm working on a system (Storm, <http://sv.gnu.org/projects/storm/>) 
having very similar addressing needs; in fact, I've been in the process 
of preparing a registration for an informal URN namespace using MIME 
type + cryptographic hash to identify typed octet stream resources. We 
are building a p2p-based extension to the Web, based on this.

I think there are also plans to register a formal namespace for 
'bitprints'--

     http://bitzi.com/developer/bitprint

which are combinations of a SHA-1 hash and a Merkle hash tree root using 
  Tiger hashes. This namespace would not include content types.

Bitprints are used by Bitzi <http://bitzi.com> and Onion Networks 
<http://onionnetworks.com>. Our project also uses bitprints for 
compatibility. (The only thing setting our namespace apart is that we 
include MIME types.)

I hope that we can archieve some collaboration here. It would be good if 
we could reach agreement on a single namespace, so that URNs in this 
namespace can be resolved with either of our systems.

Below are some high-level comments regarding the approach of your I-D. 
(I'll save low-level comments for a later stage of the discussion. :) )

- It seems obvious that a shared namespace would be a good thing. If 
someone made a link between two files in one of your repositories, for 
example, and someone else published the linked-to file using our system, 
then a browser understanding both systems could follow the link from 
your repository by downloading the file through our system.

- Your proposal attempts to be general by allowing different hash 
functions to be used. I am wondering about that: It seems good practice 
to keep protocol parameters extensible, but it also means that there 
will be different ids for the same resource-- impractical when you try 
to look it up under one id, but it's stored under another!

On the other hand, if you say "it's *this* hash" there will be people 
who'll want to use another, and they'd have to create their own 
namespace. Since this is not a standard-- it's an informational RFC-- 
there is no reason why they wouldn't.

I think the way to go would be to provide a general namespace for 
hash-based URNs, but to specify one 'prefered' way to use it, noting 
that there are several systems implementing this way, already. But I'm 
not sure.

- All your identifiers use only a single hash function. Especially for 
URNs, which are supposed to be long-lived, there is a good reason to use 
hashes generated by more than one function: If one of the functions is 
broken (but the other isn't simultaneously), the ids don't become 
useless; you can use timestamping to extend the lifetime of your ids 
indefinitely (as long as the two hash functions you happen to use at a 
given time are never broken simultaneously). [unforch the only reference 
I can find on this right now is the US patent on it :-(, # 5,373,561 
<http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/srchnum.htm&r=1&f=G&l=50&s1=5,373,561.WKU.&OS=PN/5,373,561&RS=PN/5,373,561>.]

I would suggest adding the ability to use more than one hash function in 
the same URN.

The syntax could look for example like this:

     urn:cbuid:md5.sha1:<md5-hash>.<sha1-hash>

- Our project picked bitprint to be compatible-- because there were 
already at least two other independent projects using it, and it was 
explicitly promoted in the interest of compatibility. So I would suggest 
bitprints as the 'recommended' set of hash functions for this system. 
Using the above example syntax, they'd read like this:

     urn:cbuid:sha1.tigertree:<sha1-hash>.<tigertree-hash>

- The emerging 'industry standard' at least in the p2p community seems 
to encode hashes in base32; it provides shorter ids than base16 (hex), 
yet is also case-insensitive and uses only alphanumerics. Using the same 
hash, but different ASCII representations seems really icky: You *are* 
using the same technology, yet your ids don't resemble each other at 
all. I suggest that you use base32 in your namespace; see RFC 3548 if 
you need a definition.

- Your mechanism for hashing parts of an email separately is quite 
application-specific; that's a pity, given that the namespace is quite 
generally useful otherwise. Different applications may very easily have 
different needs for breaking up an entity into parts; for example, I 
could easily imagine that somebody would like to hash each body part of 
a multipart message independently.

It seems like solving your need through some mechanism outside this 
namespace registration would make the namespace simpler and more 
generally useful. What exactly do you need it for, anyway?

- Two syntax considerations: Firstly, it would seem like a good idea to 
choose a syntax similar to that of RFC 2397 (The "data" URL scheme) 
since it also represents the MIME types of the resources it identifies 
in the URI. So you'd have something like,

     urn:cbuid:sha1:text/plain,<sha1-hash>

In the flavor of URI that doesn't include content types, you could 
simply leave that part off.

     urn:cbuid:sha1:<sha1-hash>

(Unambiguous because hashes cannot contain commas.) This would probably 
make the scheme more attractive to folks who don't want to include 
content types, since there would be no 'artefacts' (":*:") related to 
them in the content-type-less syntax.

Secondly and finally, cbuid is hard to remember and easy to misspell, 
IMHO. If it's going to be a general namespace for cryptographic 
hash-based id, I'd propose simply calling it 'hash'--

    urn:hash:sha1:<sha1-hash>

:-)

Hoping to spark some discussion,
- Benja





From exim@www1.ietf.org  Mon Jul 14 08:09:34 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA14248
	for <urn-nid-archive@odin.ietf.org>; Mon, 14 Jul 2003 08:09:33 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19c28d-0001Aa-RL
	for urn-nid-archive@odin.ietf.org; Mon, 14 Jul 2003 08:09:05 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6EC936s004492
	for urn-nid-archive@odin.ietf.org; Mon, 14 Jul 2003 08:09:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19c28d-0001AN-LV
	for urn-nid-web-archive@optimus.ietf.org; Mon, 14 Jul 2003 08:09:03 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA14224
	for <urn-nid-web-archive@ietf.org>; Mon, 14 Jul 2003 08:09:01 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19c28c-0006Az-00
	for urn-nid-web-archive@ietf.org; Mon, 14 Jul 2003 08:09:02 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19c28b-0006Av-00
	for urn-nid-web-archive@ietf.org; Mon, 14 Jul 2003 08:09:01 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19c28a-00018v-U3; Mon, 14 Jul 2003 08:09:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19bwvj-0005u7-4e
	for urn-nid@optimus.ietf.org; Mon, 14 Jul 2003 02:35:23 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA27957
	for <urn-nid@apps.ietf.org>; Mon, 14 Jul 2003 02:35:19 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19bwve-0001td-00
	for urn-nid@apps.ietf.org; Mon, 14 Jul 2003 02:35:18 -0400
Received: from km.giti.waseda.ac.jp
	([133.9.168.41] helo=dual.km.giti.waseda.ac.jp ident=mail)
	by ietf-mx with esmtp (Exim 4.12)
	id 19bwvc-0001tO-00
	for urn-nid@apps.ietf.org; Mon, 14 Jul 2003 02:35:17 -0400
Received: from dmark2.km.giti.waseda.ac.jp
	([133.9.109.2] helo=localhost ident=wak)
	by dual.km.giti.waseda.ac.jp with esmtp (Exim 3.35 #1 (Debian))
	id 19bwvV-00074b-00; Mon, 14 Jul 2003 15:35:09 +0900
Date: Mon, 14 Jul 2003 15:35:09 +0900 (JST)
Message-Id: <20030714.153509.115919767.wak@mini.km.giti.waseda.ac.jp>
To: urn-nid@apps.ietf.org
Cc: RegTF@km.giti.waseda.ac.jp
Subject: URN Registration Request
From: Wataru KAMEYAMA <wataru@waseda.jp>
X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.1 (AOI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Dear URN-NID,

On behalf of the TV-Anytime Forum (http://www.tv-anytime.org/), I'm
sending a request to allocate the "tva" URN namespace to the Forum
specifications.  Attached please find the proposed text.  Because the
adoption of the Forum specifications as ETSI standards is being on the
way, we don't know the ETSI standard numbers yet.  Therefore, it's
written as "XXXX" in the following text.  Once the numbers are fixed,
we'll replace it as soon as possible.

Should you have any questions, please contact me.

Thank you very much in advance.

Regards,

** Wataru KAMEYAMA
** Graduate School of Global Information and Telecommunication Studies
** Email: wataru@waseda.jp or wak@km.giti.waseda.ac.jp

-------------------------------------------------------------------------------






                A URN Namespace for The TV-Anytime Forum

Status of this Memo

Copyright Notice

Abstract

   This document describes a Uniform Resource Name (URN) namespace that
   is engineered by the TV-Anytime Forum for naming persistent resources
   published by the TV-Anytime Forum including the TV-Anytime Forum
   Standards, XML (Extensible Markup Language) Document Type
   Definitions, XML Schemas, Namespaces, and other documents.

1. Introduction

   The TV-Anytime Forum produces many kinds of documents:
   specifications, working documents, schemas, etc. that currently being
   considered for adoption by many standardization bodies such as ETSI
   (European Telecommunication Standardization Institute), DVB (Digital
   Video Broadcasting), ARIB (Association of Radio Industries and
   Businesses) and ATSC (Advance Television Systems Committee).

   The TV-Anytime Forum wishes to provide global, distributed,
   persistent, location-independent names for these resources.

2. Specification Template

   Namespace ID:

      "tva" requested.

   Registration information:

      Registration Version Number: 1
      Registration Date: 2003-MM-DD

   Declared registrant of the namespace:

      Name:        Wataru KAMEYAMA
      Title:       Vice Chairman and Secretary, The TV-Anytime Forum
      Affiliation: Graduate School of Global Information
                   and Telecommunication Studies, Waseda University
      Address:     1-3-10 Nishi-Waseda, Shinjuku-ku, Tokyo
                   169-0051, JAPAN
      Phone:       +81 3 5286 9852
      Email:       wataru@waseda.jp




Kameyama                                                        [Page 1]





Draft                                                           July 2003


   Declaration of structure:

      The Namespace Specific String (NSS) of all URNs assigned by the
      TV-Anytime Forum will have the following hierarchical structure:

                  urn:tva:{category}:{string}

      where the "category" is a US-ASCII string that conforms to URN
      syntax requirements ([RFC2141]), and "{string}" is a string that
      confirms to URN syntax requirements ([RFC2141]).

   Relevant ancillary documentation:

      The TV-Anytime Forum specifications have been publicly available
      at all stages during their development from
      "ftp://tva:tva@ftp.bbc.co.uk/Specifications/".  The final
      specifications are now available as formal ETSI (European
      Telecommunication Standardization Institute) technical
      specification document XXXX.

   Identifier uniqueness considerations:

      The TV-Anytime Forum shall establish unique identifiers as
      appropriate.

      Uniqueness is guaranteed as long as the assigned "{category}" is
      never reassigned for another categories.  The TV-Anytime Forum is
      responsible for this.

   Identifier persistence considerations:

      The TV-Anytime Forum is committed to maintaining the accessibility
      and persistence of all resources that are officially assigned URNs
      by the organization.  Persistence of identifiers is dependent upon
      suitable delegation at the level of "category"s, and persistence
      of category assignment.

   Process of identifier assignment:

      All the assignments of identifiers are fully controlled and
      managed by the TV-Anytime Forum.

   Process of identifier resolution:

      The namespace is not listed with an RDS; this is not relevant.

   Rules for Lexical Equivalence:




Kameyama                                                        [Page 2]





Draft                                                           July 2003


      The "{category}" is case-insensitive.  Thus, the portion of the
      URN:

                  urn:tva:{category}:

      is case-insensitive for matches.  The remainder of the identifier
      shall be considered case-sensitive, and so URNs are only lexically
      equivalent if they are also lexically identical in the remaining
      {string} field.

   Conformance with URN Syntax:

      No special considerations.

   Validation mechanism:

      Validation shall be done by a syntax grammar corresponding to each
      "{category}".

   Scope:

      Global.

3. Examples

   The following examples are not guaranteed to be real.  They are
   provided for pedagogical reasons only.

         urn:tva:metadata:2002
         urn:tva:metadata:cs:IntentionCS:2002
         urn:tva:metadata:cs:ActionTypeCS:2002
         urn:tva:rmp:tvax


4. Security Considerations

   There are no additional security considerations other than those
   normally associated with the use and resolution of URNs in general.


References

   [RFC2141] Moats, R., "URN Syntax", RFC 2141, May 1997

Author Address

   Wataru KAMEYAMA
   1-3-10 Nishi-Waseda, Shinjuku-ku, Tokyo, 169-0051, JAPAN



Kameyama                                                        [Page 3]





Draft                                                           July 2003


   Phone: +81 3 5286 9852
   Email: wataru@waseda.jp

















































Kameyama                                                        [Page 4]






From exim@www1.ietf.org  Sun Jul 20 14:40:59 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23973
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:58 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6l-0006jU-A5
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:31 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeVwQ025873
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:31 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6l-0006jD-3w
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:31 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23905
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:25 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6h-0004Mf-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:27 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6P-0004LW-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:09 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6H-0006ax-BF; Sun, 20 Jul 2003 14:40:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cScm-0006VU-5w
	for urn-nid@optimus.ietf.org; Tue, 15 Jul 2003 12:25:56 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25909
	for <urn-nid@apps.ietf.org>; Tue, 15 Jul 2003 12:25:50 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cSck-0003RB-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 12:25:54 -0400
Received: from vorpal.notabug.com ([63.149.73.20] ident=qmailr)
	by ietf-mx with smtp (Exim 4.12)
	id 19cScU-0003Qr-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 12:25:38 -0400
Received: (qmail 27061 invoked from network); 15 Jul 2003 16:23:42 -0000
Received: (ofmipd 64.231.179.53); 15 Jul 2003 16:23:20 -0000
Received: from localhost ([127.0.0.1] helo=zooko.com)
	by localhost with esmtp (Exim 3.36 #1 (Debian))
	id 19cSZU-0005nT-00; Tue, 15 Jul 2003 12:22:32 -0400
Date: 15 Jul 2003 12:22:32 -0400
Message-Id: <E19cSZU-0005nT-00@localhost>
From: "Zooko" <zooko@zooko.com>
To: p2p-hackers@zgp.org
Cc: "Benja Fallenstein" <b.fallenstein@gmx.de>, urn-nid@apps.ietf.org,
        thiemann@informatik.uni-freiburg.de
Subject: Re: [p2p-hackers] Re: Comments on draft-thiemann-cbuid-urn-00 
In-Reply-To: Message from Peter Thiemann <thiemann@informatik.uni-freiburg.de> 
   of "15 Jul 2003 17:14:37 +0200." <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de> 
References: <3F0DC458.6090401@gmx.de>  <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de> 
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>


> Can you give me a reason why p2p folks stick to base32? I don't really
> see an advantage over base64 for ids that are never handled by humans.

This was discussed on the p2p-hackers mailing list:

http://zgp.org/pipermail/p2p-hackers/2001-September/date.html

Look for messages with the subject "please prefer base 64 over base 32".  
I named that thread, because I started it by arguing in favor of base 64.  

In the course of the discussion Gordon Mohr and others convinced me to change 
my mind, and I adopted base-32 afterward.

Regards,

Zooko

http://zooko.com/




From exim@www1.ietf.org  Sun Jul 20 14:40:59 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23972
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:58 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6k-0006j7-UF
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:31 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeUpa025856
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:30 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6k-0006iw-HQ
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:30 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23904
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:25 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6h-0004Me-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:27 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6Q-0004Lb-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:10 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6I-0006eY-Fj; Sun, 20 Jul 2003 14:40:02 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19car7-00052M-4c
	for urn-nid@optimus.ietf.org; Tue, 15 Jul 2003 21:13:17 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA13090
	for <urn-nid@apps.ietf.org>; Tue, 15 Jul 2003 21:13:09 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19car1-00003p-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 21:13:11 -0400
Received: from onionnetworks.com ([207.195.206.201] helo=open-content.net)
	by ietf-mx with smtp (Exim 4.12)
	id 19caql-00003d-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 21:12:55 -0400
Received: (qmail 32071 invoked from network); 16 Jul 2003 01:12:36 -0000
Received: from c-24-118-168-87.mn.client2.attbi.com (HELO chapweske.com) (24.118.168.87)
  by onionnetworks.com with SMTP; 16 Jul 2003 01:12:36 -0000
Message-ID: <3F14A687.9000008@chapweske.com>
Date: Tue, 15 Jul 2003 20:12:39 -0500
From: Justin Chapweske <justin@chapweske.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: p2p-hackers@zgp.org
CC: urn-nid@apps.ietf.org, thiemann@informatik.uni-freiburg.de
Subject: Re: [p2p-hackers] Cryptographic hashes in URNs
References: <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>  <3F1427B7.6010402@chapweske.com> <E19cSuD-0005pu-00@localhost> <3F1486C8.3000706@gmx.de> <3F14989C.2020501@chapweske.com> <3F14A421.5010502@gmx.de>
In-Reply-To: <3F14A421.5010502@gmx.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

I won't both the CFRG with this post.

> 
> I need the first kind of semantics, though, if I want to use hash URNs 
> as reliable, trusted, *context-less* identifiers. (I.e., without being 
> able to give more than one URN in an <a href>.) I think having a way to 
> convey these semantics would be good, even if some people will implement 
> it in an insecure way.
> 

I see how your requirements are different.  Perhaps the solution is to 
define a generic URI scheme that allows composition of multiple URIs to 
identify the content.  It could be done in a fashion similar to the DURI 
draft 
(http://www.watersprings.org/pub/id/draft-masinter-dated-uri-03.txt) and 
could be made independant of hashing if you wished.

So, it could be similar in spirit to the urn:hashes that you mentioned 
in a previous post.

I'm actually rather suprised that I've never seen a URI format defined 
that simply implies equivilence between a set of sub-URIs.

-- 
Justin Chapweske, Onion Networks
http://onionnetworks.com/





From exim@www1.ietf.org  Sun Jul 20 14:41:00 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23981
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:59 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6o-0006ld-11
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:34 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeXEs026004
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:33 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6n-0006lL-RA
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:33 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23925
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:27 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6h-0004Mg-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:28 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6V-0004Lc-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:15 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6I-0006f3-M2; Sun, 20 Jul 2003 14:40:02 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cnsm-0000aU-9l
	for urn-nid@optimus.ietf.org; Wed, 16 Jul 2003 11:07:52 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA05337
	for <urn-nid@apps.ietf.org>; Wed, 16 Jul 2003 11:07:46 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cnsj-0000KY-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 11:07:49 -0400
Received: from fmr05.intel.com ([134.134.136.6] helo=hermes.jf.intel.com)
	by ietf-mx with esmtp (Exim 4.12)
	id 19cnsI-0000JR-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 11:07:29 -0400
Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7])
	by hermes.jf.intel.com (8.11.6p2/8.11.6/d: outer.mc,v 1.66 2003/05/22 21:17:36 rfjohns1 Exp $) with ESMTP id h6GF45d26515;
	Wed, 16 Jul 2003 15:04:05 GMT
Received: from nwlxmail01.jf.intel.com (nwlxmail01.jf.intel.com [10.7.171.40])
	by talaria.jf.intel.com (8.11.6p2/8.11.6/d: inner.mc,v 1.35 2003/05/22 21:18:01 rfjohns1 Exp $) with ESMTP id h6GEVII27116;
	Wed, 16 Jul 2003 14:31:18 GMT
Received: from cellison-mobl ([134.134.40.119])
	by nwlxmail01.jf.intel.com (8.12.9/8.12.9/MailSET/Hub) with SMTP id h6GF69vl012306;
	Wed, 16 Jul 2003 08:06:09 -0700
Message-Id: <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>
X-Sender: cme@mailbox.jf.intel.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
Date: Wed, 16 Jul 2003 08:06:07 -0700
To: Benja Fallenstein <b.fallenstein@gmx.de>
From: Carl Ellison <cme@jf.intel.com>
Subject: Re: [Cfrg] Cryptographic hashes in URNs (was: Comments on
  draft-thiemann-cbuid-urn-00)
Cc: p2p-hackers@zgp.org, urn-nid@apps.ietf.org,
        thiemann@informatik.uni-freiburg.de, cfrg@ietf.org
In-Reply-To: <3F1486C8.3000706@gmx.de>
References: <E19cSuD-0005pu-00@localhost>
 <3F0DC458.6090401@gmx.de>
 <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>
 <3F1427B7.6010402@chapweske.com>
 <E19cSuD-0005pu-00@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benja,

	I apparently don't know the rules for URN formation.  I thought it
was completely free after the "urn:".  Is that not true?

	I'm skipping most of this conversation, to comment on a single point
at the end..

	Is urn:sha1:dRDPBgZzTFq7Jl2Q2N/YNghcfj8= not now legal?

At 12:57 AM 7/16/2003 +0200, Benja Fallenstein wrote:
>If we allow all possible subsets, using URN namespace names becomes 
>problematic; we'd have to register
>
>     urn:sha1:...
>     urn:sha256:...
>     urn:tiger:...
>     urn:sha1+sha256:...
>     urn:sha1+tiger:...
>     urn:sha256+tiger:...
>     urn:sha1+sha256+tiger:...
>
>(urks). Or, we'd have to do something like, use urn:sha1:... for
>just  one hash but urn:hashes:sha1+sha256:... for more than one
>hash. Then,  we'd only have to register
>
>     urn:sha1:...
>     urn:sha256:...
>     urn:tiger:...
>     urn:hashes:...
>
>Opinions?

When you combine hash functions, you need to specify the combining
function also.  I assume you were assuming mere concatenation, here. 
It's often more than that.  So, the concatenation function would have
to be listed also.

My personal preference is for anyone who wants to do this to declare
a new hash function name and define it as the particular combination
function of the particular other hash functions, but use that new
hash function name in things like the URN construct.  We've seen a
couple of these, but not very many and I don't see a reason to
encourage people to do this kind of concatenation.

 - Carl

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPxVp38xqBGb+WvJAEQJWqQCeNMYjkGsZgVJ+AdxGD4qC9nApCWEAnjlm
BVlE+QHYq0g1jzd1rXJdfKgO
=pvcn
-----END PGP SIGNATURE-----


+--------------------------------------------------------+
|Carl Ellison      Intel R & D       E: cme@jf.intel.com |
|2111 NE 25th Ave                    T: +1-503-264-2900  |
|Hillsboro OR 97124                  F: +1-503-264-3375  |
|PGP Key ID: 0xFE5AF240                                  |
|  1FDB 2770 08D7 8540 E157  AAB4 CC6A 0466 FE5A F240    |
+--------------------------------------------------------+




From exim@www1.ietf.org  Sun Jul 20 14:41:02 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24024
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:41:01 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6q-0006nB-CZ
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:36 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeaNs026104
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:36 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6o-0006ma-Rx
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:34 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23910
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:25 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6h-0004Mh-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:27 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6V-0004Ld-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:15 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6I-0006fY-Tn; Sun, 20 Jul 2003 14:40:02 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19coMg-0002S7-8h
	for urn-nid@optimus.ietf.org; Wed, 16 Jul 2003 11:38:46 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06308
	for <urn-nid@apps.ietf.org>; Wed, 16 Jul 2003 11:38:41 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19coMf-0000Zl-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 11:38:45 -0400
Received: from mail.gmx.net ([213.165.64.20])
	by ietf-mx with smtp (Exim 4.12)
	id 19coMP-0000ZK-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 11:38:29 -0400
Received: (qmail 12150 invoked by uid 65534); 16 Jul 2003 15:37:18 -0000
Received: from pD9E12BA5.dip.t-dialin.net (EHLO gmx.de) (217.225.43.165)
  by mail.gmx.net (mp027) with SMTP; 16 Jul 2003 17:37:18 +0200
Message-ID: <3F1570D6.8080601@gmx.de>
Date: Wed, 16 Jul 2003 17:35:50 +0200
From: Benja Fallenstein <b.fallenstein@gmx.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030704 Debian/1.4-1
X-Accept-Language: en
MIME-Version: 1.0
To: Carl Ellison <cme@jf.intel.com>
CC: p2p-hackers@zgp.org, urn-nid@apps.ietf.org,
        thiemann@informatik.uni-freiburg.de, cfrg@ietf.org
Subject: Re: [Cfrg] Cryptographic hashes in URNs
References: <E19cSuD-0005pu-00@localhost> <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de> <3F1427B7.6010402@chapweske.com> <E19cSuD-0005pu-00@localhost> <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>
In-Reply-To: <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


Hi Carl,

Carl Ellison wrote:
> 	I apparently don't know the rules for URN formation.  I thought it
> was completely free after the "urn:".  Is that not true?

No. After the "urn:" comes a "namespace identifier," a colon, and a 
"namespace-specific string," i.e.

     urn:<namespace id>:<namespace-specific string>

Assignment of namespace ids is a manged process, i.e., you cannot just 
create your own, you have to register it with the IETF. Normally this 
requires an RFC. The namespace registration explains how the 
namespace-specific string is interpreted.

For more info, see RFCs 2141 and 3406. The official registry of 
namespace ids is at:

     http://www.iana.org/assignments/urn-namespaces

> 	Is urn:sha1:dRDPBgZzTFq7Jl2Q2N/YNghcfj8= not now legal?

No, since there is no registered 'sha1' namespace.

> At 12:57 AM 7/16/2003 +0200, Benja Fallenstein wrote:
>>    urn:sha1:...
>>    urn:sha256:...
>>    urn:tiger:...
>>    urn:sha1+sha256:...
>>    urn:sha1+tiger:...
>>    urn:sha256+tiger:...
>>    urn:sha1+sha256+tiger:...
[...]
>>Opinions?
> 
> When you combine hash functions, you need to specify the combining
> function also.  I assume you were assuming mere concatenation, here. 
> It's often more than that.  So, the concatenation function would have
> to be listed also.

Hm, can you explain what else would be needed? Do we really need other 
combinations than concatenation in URNs-- what would be the 
applications? (I'm not familiar with other ways in which you would want 
to combine hash functions.)

> My personal preference is for anyone who wants to do this to declare
> a new hash function name and define it as the particular combination
> function of the particular other hash functions, but use that new
> hash function name in things like the URN construct.  We've seen a
> couple of these, but not very many and I don't see a reason to
> encourage people to do this kind of concatenation.

Hm. Maybe you're right. My one point against this would be that if you use

     urn:sha1.tigertree:...

it's easier for a developer who supports only SHA-1 to realize that they 
can provide at least partial verification than it is if you use

     urn:bitprint:...

and define 'bitprint' as, 'SHA-1 concatenated with a Tiger tree-hash.'

But I think I'd be fine with the latter, if it is consensus.

- Benja





From exim@www1.ietf.org  Sun Jul 20 14:41:02 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24028
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:41:02 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6q-0006nT-HL
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:36 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeadB026121
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:36 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6l-0006jT-AP
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:36 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23917
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:26 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6i-0004Mk-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:28 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6W-0004Li-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:16 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6J-0006hY-ME; Sun, 20 Jul 2003 14:40:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cqRb-0001tt-Mu
	for urn-nid@optimus.ietf.org; Wed, 16 Jul 2003 13:51:59 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA10337
	for <urn-nid@apps.ietf.org>; Wed, 16 Jul 2003 13:51:55 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cqRZ-0001eF-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 13:51:57 -0400
Received: from h-135-207-24-16.research.att.com ([135.207.24.16] helo=linux.research.att.com)
	by ietf-mx with esmtp (Exim 4.12)
	id 19cqRJ-0001dj-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 13:51:41 -0400
Received: from bigmail.research.att.com (bigmail.research.att.com [135.207.30.101])
	by linux.research.att.com (8.12.8/8.12.8) with ESMTP id h6GI5oJh021096;
	Wed, 16 Jul 2003 14:05:50 -0400
Received: from berkshire.research.att.com (raptor.research.att.com [135.207.23.32])
	by bigmail.research.att.com (8.11.6+Sun/8.11.6) with ESMTP id h6GHoZV26619;
	Wed, 16 Jul 2003 13:50:35 -0400 (EDT)
Received: from research.att.com (localhost [127.0.0.1])
	by berkshire.research.att.com (Postfix) with ESMTP
	id 23A027B4D; Wed, 16 Jul 2003 19:50:34 +0200 (CEST)
X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4
To: Benja Fallenstein <b.fallenstein@gmx.de>
Cc: p2p-hackers@zgp.org, Carl Ellison <cme@jf.intel.com>,
        urn-nid@apps.ietf.org, thiemann@informatik.uni-freiburg.de,
        cfrg@ietf.org
Subject: Re: [p2p-hackers] Re: [Cfrg] Cryptographic hashes in URNs 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 16 Jul 2003 19:50:34 +0200
From: "Steven M. Bellovin" <smb@research.att.com>
Message-Id: <20030716175034.23A027B4D@berkshire.research.att.com>
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>

In message <3F158C33.4070604@gmx.de>, Benja Fallenstein writes:
>
>Hi Zooko,
>
>Zooko wrote:
>> Coincidentally, there is an active (and contentious) discussion of 
>> cryptography-based naming at the "cryptography" mailing list.
>> 
>> Three different concrete proposals, including one already deployed and one 
>> newly announced, have been mentioned.
>
>Is there an archive?
>
>> majordomo@wasabisystems.com
>
>"subscribe cryptography" gives:
>**** subscribe: unknown list 'cryptography'.

It's now at metzdowd.com


		--Steve Bellovin, http://www.research.att.com/~smb (me)
		http://www.wilyhacker.com (2nd edition of "Firewalls" book)






From exim@www1.ietf.org  Sun Jul 20 14:41:06 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24161
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:41:05 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6u-0006nk-MP
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:40 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeeIM026138
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:40 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6j-0006iv-Uf
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:34 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23899
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:24 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6g-0004Md-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:26 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6P-0004LY-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:09 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6H-0006bm-OS; Sun, 20 Jul 2003 14:40:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cYmW-0007i4-OK
	for urn-nid@optimus.ietf.org; Tue, 15 Jul 2003 19:00:24 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA10389
	for <urn-nid@apps.ietf.org>; Tue, 15 Jul 2003 19:00:12 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cYmN-0006wN-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 19:00:15 -0400
Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net)
	by ietf-mx with smtp (Exim 4.12)
	id 19cYm7-0006sq-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 18:59:59 -0400
Received: (qmail 32713 invoked by uid 65534); 15 Jul 2003 22:58:39 -0000
Received: from pD9E12AAC.dip.t-dialin.net (EHLO gmx.de) (217.225.42.172)
  by mail.gmx.net (mp015) with SMTP; 16 Jul 2003 00:58:39 +0200
Message-ID: <3F1486C8.3000706@gmx.de>
Date: Wed, 16 Jul 2003 00:57:12 +0200
From: Benja Fallenstein <b.fallenstein@gmx.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030704 Debian/1.4-1
X-Accept-Language: en
MIME-Version: 1.0
To: p2p-hackers@zgp.org
CC: urn-nid@apps.ietf.org, thiemann@informatik.uni-freiburg.de, cfrg@ietf.org
Subject: Cryptographic hashes in URNs (was: Comments on draft-thiemann-cbuid-urn-00)
References: <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>  <3F1427B7.6010402@chapweske.com> <E19cSuD-0005pu-00@localhost>
In-Reply-To: <E19cSuD-0005pu-00@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


Hi all,

This is a discussion about the registration of a URN namespace based on 
cryptographic hashes, i.e., a namespace of octet streams as identified 
by their hashes.

Some security-related issues have (unsurprisingly) turned up, so I'm now 
cross-posting to three mailing lists--

- urn-nid (technical discussion of URN namespace registrations)
- p2p-hackers (because one important user base would be the p2p community)
- the IRTF crypto forum (to pick their minds about the security issues).

I think it's appropriate in all three, but please stay strictly on topic :-)

Justin Chapweske wrote:
 > [Peter Thiemann wrote: -bf]
>> Well, I'm pretty sure that the URN scheme should *not* fix one
>> particular hash function. Instead, it should be extensible so that it
>> does not become obsolete just because a hash function is broken or
>> somebody discovers a new super-safe or super-efficient hash function.

[Later in the mail, Peter even suggested a registry for hash functions.]

> I actually disagree.  In order to avoid chosen-algorithm attacks,
 > the set of standardized hashes should be kept very small and directly
 > under the control of the IETF and at the guidance of the CFRG.

I agree; if we have a urn:hash: namespace or similar, the list of 
allowable hash functions should be fixed in the namespace registration, 
and only be changeable by going through the RFC process.

Regarding chosen-algorithm attacks, we have to keep in mind what our 
adversary model is. It should be noted that the hash function is picked 
by the person publishing a URN, not by the person a file is downloaded 
from. An attack using a hash collision would still be possible, but it 
would go more like this:

- Find a hash collision, H = h(x) = h(y), x != y.
- Use x to obtain some form of a "good rating" on H; this could include 
something like having an independent, widely trusted entity publish H as 
the hash of some good data, or even obtaining a signature on H.
- Make y available for download with H as its id.

If the URN is published by someone else than the adversary, the 
adversary doesn't get to choose the algorithm.

 > By having it as a top level URN scheme such as urn:sha1, implementors
 > will tend to focus on the algorithm itself rather than the notion
 > of generic hash-based naming.

Maybe you're right. OTOH this doesn't generalize to using combinations 
of hash functions (more on this below).

> We must avoid having a generic hash name space that allows developers
 > to add new hashes willy-nilly.  I believe that many non crypto-savvy
 > developers would tend to support every algorithm specified in the
 > name space without understanding that by supporting multiple agorithms
 > you introduce a weakest-link condition.

These are separate issues. Having developers add non-standard hash 
functions seems like a really bad idea. Supporting every function in the 
namespace registration may be a bad idea, but do you trust 
non-crypto-savvy developers to make a sensible *choice* of which 
algorithms to support (assuming that there *are* namespaces for 
different functions, including maybe md5 for backward compatibility).

It should also be noted that the spec can try to educate those people 
that do read it. Of course there are always those that never read the 
spec, just use what the others use.

> Also, for reasons of interoperability, it would be useful if the number
 > of different URNs be kept small.

I agree, but what about developers who don't want to use e.g. SHA1 for 
technical reasons? (In particular hash size; possibly also backwards 
compatibility, especially if they have a running system they want to 
augment with URNs.) Well, maybe such developers aren't plentiful; 
anybody know any? (Not sure how on-topic this is for CFRG tho.)

 > A large number of the P2P developers have agreed upon SHA1 for the time
 > being, which could potentially enable very simple interoperability
> between these systems.

True, but there are also the two technical points against using SHA1 alone:

- Many systems today use hash trees for multisource downloading. (Of 
course you can use a SHA1 hash tree, but that obviously doesn't give you 
the interoperability with plain SHA1 systems.)
- Using just one function makes repair after the function is broken much 
more difficult (again, more below).

> I also think some mechanism should be introduced to deprecate hash schemes
 > over time.  So while urn:md5 would be a decent name space to add for
 > compatibility with existing MD5-based applications, such a scheme 
should be
 > immediately denoted as being deprecated to avoid having new applications
 > adopt MD5.

Agreed.

>>     BF> I would suggest adding the ability to use more than one hash function
>>     BF> in the same URN.
>>
>>     BF> The syntax could look for example like this:
>>
>>     BF>      urn:cbuid:md5.sha1:<md5-hash>.<sha1-hash>
>>
>> That sounds like a good proposal to me, it gives you increased
>> confidence and robustness virtually for free. I'll put a concrete
>> syntax proposal at the end of this message.
> 
> I don't believe this is a good idea from a security perspective.  I fear that
 > most implementors would only verify one of the hashes, and unless 
they make a
 > judicious choice about the hash to verify, they are again opening 
themselves to
 > a chosen-algorithm attack.  Otherwise, implementors w/o the proper 
context to
 > decide which hash is the strongest are forced to verify both hashes, 
which will
 > cut their hashing performance roughly in half.
 >
> Zooko, do you have any thoughts on this?  These seem like the types of attacks
 > that you've spent a lot of time thinking about.

Zooko replied:
> I *have* thought about this issue.  The short of it is: I'm not sure how to do 
> it right, so I'm not going to do it.

(I understand this as: "I'm not going to use more than a single hash 
function in the id.")

> For example, what should the required/allowed behavior be when one of the 
> hashes fails to match and the matches?  Are implementors required to check all 
> hashes that are included?

My take on this is: Generally, yes.

If you don't, you open yourself to a very similar attack to the one I 
described above regarding chosen-message attacks. Assume that two hash 
functions, g(.) and h(.) are in use.

- Create a URN containing g(x), h(y) for x != y.
- Using x, obtain an endorsement for the URN from someone who verifies 
only g(.).
- Use the endorsement to "sell" y to someone who verifies only h(.).

Yes, verifying only one of the two hashes takes longer. Well, verifying 
one hash takes longer than verifying zero hashes; let's specify a system 
without this kind of security holes.

I think that using a URN which includes two hashes should be read as a 
statement by the URN's creator that they think verifying two hashes is 
reasonable. If you don't agree with them, don't resolve their URN in the 
first place...

(I don't see why Justin thinks that verifying only one hash would 
introduce chosen-algorithm attacks, though. Assume that a verifier is 
capable of verifying both g(.) and h(.), but verifies only g(.), which 
happens to be insecure. I think it is reasonable to think that the 
verifier would also accept a URN including *only* a g(.) hash; thus, the 
double hash isn't necessary for the attack. And if the developer of the 
verifier knew that g(.) was insecure, surely they wouldn't make their 
program verify only g(.) in the first place. Maybe someone can enlighten 
me on chosen-algorithm attacks made possible by using two functions.)

The one exception I would make to having to verify both hashes is when 
the verifier doesn't have an implementation of both hash functions. In 
these cases, I would say that an implementation MAY reject the URN, but 
if it does not, it SHOULD provide an indication to the user that the 
verifier cannot guarantee that everybody else will see the same file 
behind this URN as given. The verifier could also provide an alternative 
URN where this *can* be guaranteed (i.e., one containing only one hash).

> I suspect that there might be a way to do secure, smooth, backwards-
> compatible upgrade past certain kinds of hash algorithm breakages.  However, 
> I haven't seen a complete description of how it would work.

Ok. I assume that you mean, a way to continue to use identifiers even 
after the hash functions used in these identifiers are all broken.

For the following, you have to have a secure timestamping service. 
Assume that your identifiers include two hashes, using g(.) and h(.). 
Assume that g(.) is broken, but h(.) still works. Assume that you have 
decided upon a new hash function, i(.), which you will in the future use 
together with h(.). For every file x where you have the contents, not 
just the hash, you can:

- Compute h(x) and i(x).
- Timestamp the statement: "H = h(x) and I = i(x) are hashes of the same 
file."

Now suppose that h(.) is broken, but i(.) still works. Assume that you 
have an old-style identifier containing g(x) and h(x). Assume that you 
have downloaded y, an alleged copy of x; you want to verify it against 
the identifier containing G = g(x) and H2 = h(x). You have the timestamp 
certificate of the above statement.

You now verify that g(y) = G; h(y) = H = H2; and i(y) = I.

If this holds, you can be sure that y = x. Proof: Assume that y != x. We 
know that h(y) = h(x). That's not something big; at the time of 
verification, we know ways of computing collisions for h(.).

However, the timestamped statement contains I = i(y). At the time of 
verification, it is believed that nobody can obtain hash collisions on 
i(.). Therefore, at the time of verification, the adversary must have 
used y to compute i(y), or, alternatively, created a timestamp for every 
possible value of i(.). Since timestamping involves hashing, creating a 
timestamp for every possible value of i(.) requires at least as much 
computing power as mounting a birthday attack on the function used, 
which is held to be impossible. Thus, someone has intentionally 
associated h(x) with i(y), and thus y.

To know that it makes sense to associate h(x) with y, the person must 
have known, at the time, that h(x) = h(y).

Therefore, if y != x, then someone must have known that h(x) = h(y), 
**at a time where no way to compute a hash collision on h(.) was known, 
yet**. This is held to be impossible; thus, y = x, q.e.d.

Does this satisfy you?

Note that you cannot use the above in a system using only one hash 
function-- because once your hash function breaks, your timestamps, 
using that hash function, break as well! At every time, you need at 
least one hash function that remains unbroken.

I should also note that the above idea is patented in the US and 
probably elsewhere. However, patents expire (this one in the 2010s, I 
think), and this is long-term thinking.

> (The algorithm-negotiation features of SSL/TLS might be considered an example 
> of what *not* to do, and in any case they cannot be carried over to this 
> application since they are interactive.)

Yup and yup. (Some protocols may use hash URNs as return values and may 
include algorithm negotiation, but that would be a security issue with 
those protocols, not with the hash URN spec.)


We can of course use a different URN namespace identifier for each hash 
function, i.e.,

     urn:sha1:...

A point in favor of this would be that people use it already.

I'm not sure how this interacts with using different hashes in a single 
URN, though. I think there should be a method to do so, in order to 
enable the lifetime extension as described above, and in order to 
combine 'industry standard' SHA-1 hashes with a tree hash that enables 
multisource downloading.

I think that the specification should probably say that an 
implementation must check all hashes, except at explicit user 
discretion. I think that if an an application does check all hashes, 
there are no security considerations with using more than one hash. OTOH 
there are security benefits-- if only that birthday attacks become 
harder to mount because of the additional bits.

The question then is, if we allow e.g. {sha1,sha256,tiger} each by 
itself, do we also allow every possible combination of the above? Or do 
we limit ourselves to a specified set of combinations, e.g. sha1+tiger 
but not sha1+sha256?

I believe that there is no security gain from allowing the former but 
disallowing the latter. OTOH I could easily imagine that if sha1+tiger 
is popular, some people would like to use sha1+tiger+sha256 for added 
security.

There is the issue of having less URNs per resource, of course, which is 
outside the security domain I think. I'm not sure how much a concern 
this is... opinions?

If we allow all possible subsets, using URN namespace names becomes 
problematic; we'd have to register

     urn:sha1:...
     urn:sha256:...
     urn:tiger:...
     urn:sha1+sha256:...
     urn:sha1+tiger:...
     urn:sha256+tiger:...
     urn:sha1+sha256+tiger:...

(urks). Or, we'd have to do something like, use urn:sha1:... for just 
one hash but urn:hashes:sha1+sha256:... for more than one hash. Then, 
we'd only have to register

     urn:sha1:...
     urn:sha256:...
     urn:tiger:...
     urn:hashes:...

Opinions?

Thanks,
- Benja





From exim@www1.ietf.org  Sun Jul 20 14:41:10 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24176
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:41:10 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6z-0006o2-Dj
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:45 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIejMv026156
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:45 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6z-0006nn-8I
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:45 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23957
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:40 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6w-0004NN-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:42 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6R-0004Lf-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:11 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6J-0006gY-B5; Sun, 20 Jul 2003 14:40:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cq4m-00008g-2x
	for urn-nid@optimus.ietf.org; Wed, 16 Jul 2003 13:28:24 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA09324
	for <urn-nid@apps.ietf.org>; Wed, 16 Jul 2003 13:28:20 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cq4k-0001OX-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 13:28:22 -0400
Received: from vorpal.notabug.com ([63.149.73.20] ident=qmailr)
	by ietf-mx with smtp (Exim 4.12)
	id 19cq4U-0001Np-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 13:28:06 -0400
Received: (qmail 17255 invoked from network); 16 Jul 2003 17:26:59 -0000
Received: (ofmipd 64.231.177.197); 16 Jul 2003 17:26:37 -0000
Received: from localhost ([127.0.0.1] helo=zooko.com)
	by localhost with esmtp (Exim 3.36 #1 (Debian))
	id 19cq2G-0008Uh-00; Wed, 16 Jul 2003 13:25:48 -0400
Date: 16 Jul 2003 13:25:48 -0400
Message-Id: <E19cq2G-0008Uh-00@localhost>
From: "Zooko" <zooko@zooko.com>
To: p2p-hackers@zgp.org
Cc: "Carl Ellison" <cme@jf.intel.com>,
        "Benja Fallenstein" <b.fallenstein@gmx.de>, urn-nid@apps.ietf.org,
        thiemann@informatik.uni-freiburg.de, cfrg@ietf.org
Subject: Re: [p2p-hackers] Re: [Cfrg] Cryptographic hashes in URNs 
In-Reply-To: Message from Justin Chapweske <justin@chapweske.com> 
   of "Wed, 16 Jul 2003 12:12:39 CDT." <3F158787.6020902@chapweske.com> 
References: <E19cSuD-0005pu-00@localhost> <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de> <3F1427B7.6010402@chapweske.com> <E19cSuD-0005pu-00@localhost> <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>  <3F158787.6020902@chapweske.com> 
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>


Coincidentally, there is an active (and contentious) discussion of 
cryptography-based naming at the "cryptography" mailing list.

Three different concrete proposals, including one already deployed and one 
newly announced, have been mentioned.

majordomo@wasabisystems.com





From exim@www1.ietf.org  Sun Jul 20 15:27:45 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23983
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:59 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6o-0006m3-9W
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:34 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeYa6026028
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:34 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6o-0006lg-4l
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:34 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23943
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:29 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6j-0004Mq-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:29 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6d-0004Le-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:23 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6J-0006g3-49; Sun, 20 Jul 2003 14:40:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cpsA-00082H-9t
	for urn-nid@optimus.ietf.org; Wed, 16 Jul 2003 13:15:22 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA08966
	for <urn-nid@apps.ietf.org>; Wed, 16 Jul 2003 13:15:18 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cps3-0001K5-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 13:15:15 -0400
Received: from onionnetworks.com ([207.195.206.201] helo=open-content.net)
	by ietf-mx with smtp (Exim 4.12)
	id 19cprd-0001HK-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 13:14:49 -0400
Received: (qmail 2729 invoked from network); 16 Jul 2003 17:12:35 -0000
Received: from c-24-118-168-87.mn.client2.attbi.com (HELO chapweske.com) (24.118.168.87)
  by onionnetworks.com with SMTP; 16 Jul 2003 17:12:35 -0000
Message-ID: <3F158787.6020902@chapweske.com>
Date: Wed, 16 Jul 2003 12:12:39 -0500
From: Justin Chapweske <justin@chapweske.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Carl Ellison <cme@jf.intel.com>
CC: Benja Fallenstein <b.fallenstein@gmx.de>, p2p-hackers@zgp.org,
        urn-nid@apps.ietf.org, thiemann@informatik.uni-freiburg.de,
        cfrg@ietf.org
Subject: Re: [Cfrg] Cryptographic hashes in URNs
References: <E19cSuD-0005pu-00@localhost> <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de> <3F1427B7.6010402@chapweske.com> <E19cSuD-0005pu-00@localhost> <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>
In-Reply-To: <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


> 	I'm skipping most of this conversation, to comment on a single point
> at the end..
> 
> 	Is urn:sha1:dRDPBgZzTFq7Jl2Q2N/YNghcfj8= not now legal?
> 

The sha1 urn scheme is not yet registered, but its de facto usage 
utilizes a Base32 encoding, not Base64.

-- 
Justin Chapweske, Onion Networks
http://onionnetworks.com/





From exim@www1.ietf.org  Sun Jul 20 15:27:46 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23980
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:59 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6n-0006lD-9T
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:33 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeXk6025981
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:33 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6n-0006ki-0w
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:33 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23933
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:27 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6j-0004Mi-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:29 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6W-0004Lg-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:16 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6J-0006h3-Go; Sun, 20 Jul 2003 14:40:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cqD9-0000cJ-52
	for urn-nid@optimus.ietf.org; Wed, 16 Jul 2003 13:37:03 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA09652
	for <urn-nid@apps.ietf.org>; Wed, 16 Jul 2003 13:36:59 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cqD7-0001Uc-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 13:37:01 -0400
Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net)
	by ietf-mx with smtp (Exim 4.12)
	id 19cqCr-0001Tg-00
	for urn-nid@apps.ietf.org; Wed, 16 Jul 2003 13:36:45 -0400
Received: (qmail 8592 invoked by uid 65534); 16 Jul 2003 17:34:03 -0000
Received: from pD9E12BA5.dip.t-dialin.net (EHLO gmx.de) (217.225.43.165)
  by mail.gmx.net (mp012) with SMTP; 16 Jul 2003 19:34:03 +0200
Message-ID: <3F158C33.4070604@gmx.de>
Date: Wed, 16 Jul 2003 19:32:35 +0200
From: Benja Fallenstein <b.fallenstein@gmx.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030704 Debian/1.4-1
X-Accept-Language: en
MIME-Version: 1.0
To: p2p-hackers@zgp.org
CC: Carl Ellison <cme@jf.intel.com>, urn-nid@apps.ietf.org,
        thiemann@informatik.uni-freiburg.de, cfrg@ietf.org
Subject: Re: [p2p-hackers] Re: [Cfrg] Cryptographic hashes in URNs
References: <E19cSuD-0005pu-00@localhost> <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de> <3F1427B7.6010402@chapweske.com> <E19cSuD-0005pu-00@localhost> <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>  <3F158787.6020902@chapweske.com> <E19cq2G-0008Uh-00@localhost>
In-Reply-To: <E19cq2G-0008Uh-00@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


Hi Zooko,

Zooko wrote:
> Coincidentally, there is an active (and contentious) discussion of 
> cryptography-based naming at the "cryptography" mailing list.
> 
> Three different concrete proposals, including one already deployed and one 
> newly announced, have been mentioned.

Is there an archive?

> majordomo@wasabisystems.com

"subscribe cryptography" gives:
**** subscribe: unknown list 'cryptography'.

- Benja





From exim@www1.ietf.org  Sun Jul 20 15:27:46 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23978
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:59 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6m-0006ke-PW
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:32 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeWUU025946
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:32 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6m-0006k7-Fw
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:32 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23923
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:27 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6i-0004Mc-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:28 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6P-0004LU-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:09 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6G-0006ab-QV; Sun, 20 Jul 2003 14:40:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cS6B-0004hG-5w
	for urn-nid@optimus.ietf.org; Tue, 15 Jul 2003 11:52:15 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA25011
	for <urn-nid@apps.ietf.org>; Tue, 15 Jul 2003 11:52:10 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cS6A-00038Y-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 11:52:14 -0400
Received: from relay.pair.com ([209.68.1.20])
	by ietf-mx with smtp (Exim 4.12)
	id 19cS5u-00038B-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 11:51:58 -0400
Received: (qmail 88622 invoked from network); 15 Jul 2003 15:51:16 -0000
Received: from adsl-67-119-25-85.dsl.snfc21.pacbell.net (HELO golden) (67.119.25.85)
  by relay.pair.com with SMTP; 15 Jul 2003 15:51:16 -0000
X-pair-Authenticated: 67.119.25.85
Message-ID: <008401c34ae8$ef44fdd0$660a000a@golden>
From: "Gordon Mohr" <gojomo@bitzi.com>
To: <p2p-hackers@zgp.org>, "Benja Fallenstein" <b.fallenstein@gmx.de>
Cc: <urn-nid@apps.ietf.org>, <thiemann@informatik.uni-freiburg.de>
References: <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>
Subject: Re: [p2p-hackers] Re: Comments on draft-thiemann-cbuid-urn-00
Date: Tue, 15 Jul 2003 08:51:19 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Peter Thiemann writes:
> Can you give me a reason why p2p folks stick to base32? I don't really
> see an advantage over base64 for ids that are never handled by humans.

Content identifiers are often sent via email; they are 
also (very occasionally) put on paper. 

Content identifiers also appear inside other URIs (such
as HTTP) or as filenames. Base64 characters aren't always
legal in filenames, and may need to be escaped in other
URIs.

Content identifiers also occasionally get usefully catalogued
by full-text indexers, but Base64 characters are usually
considered word-boundaries or other punctuation by such tools. 
Thus Base32 identifiers can be sought as atomic words, while 
Base64 identifiers cannot. 

For example, try:
  http://www.google.com/search?q=EPH3MTGDELUYJU7UDWSRA6B3PAYVEILO

Sometimes it may be handy to use a truncation of the full 
identifier -- say the first 4-6 characters -- as a nickname
of the full identifier to distinguish (in a non-secure way)
between variants of otherwise similar files. Such use only
heightens the other problems with Base64: your short
identifier could be "/a+A/4" instead of something like
"AZB3A4".

- Gojomo @ Bitzi
____________________   
Gordon Mohr <gojomo@ . . . At Bitzi, people cooperate to identify, rate,
bitzi.com> Bitzi CTO . . . describe and discover files of every kind. 
_ http://bitzi.com _ . . . Bitzi knows bits -- because you teach it!







From exim@www1.ietf.org  Sun Jul 20 15:27:47 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23979
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:59 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6n-0006kw-5g
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:33 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeXLK025966
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:33 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6n-0006kj-20
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:33 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23934
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:27 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6j-0004Mm-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:29 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6W-0004Lj-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:16 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6J-0006i3-T4; Sun, 20 Jul 2003 14:40:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19dajb-0001m9-28
	for urn-nid@optimus.ietf.org; Fri, 18 Jul 2003 15:19:00 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA10286
	for <urn-nid@apps.ietf.org>; Fri, 18 Jul 2003 15:17:36 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19dajZ-0002rD-00
	for urn-nid@apps.ietf.org; Fri, 18 Jul 2003 15:17:37 -0400
Received: from smtp-relay-3.adobe.com ([192.150.22.10] helo=smtp-relay-3.sea.adobe.com)
	by ietf-mx with esmtp (Exim 4.12)
	id 19dajJ-0002qx-00
	for urn-nid@apps.ietf.org; Fri, 18 Jul 2003 15:17:22 -0400
Received: from inner-relay-1.corp.adobe.com (inner-relay-1 [153.32.1.51])
	by smtp-relay-3.sea.adobe.com (8.12.9/8.12.9) with ESMTP id h6IJG9OD027207
	for <urn-nid@apps.ietf.org>; Fri, 18 Jul 2003 12:16:14 -0700 (PDT)
Received: from mailsj-v1.corp.adobe.com (mailsj-dev.corp.adobe.com [153.32.1.192])
	by inner-relay-1.corp.adobe.com (8.12.9/8.12.9) with ESMTP id h6IJG8rj020288
	for <urn-nid@apps.ietf.org>; Fri, 18 Jul 2003 12:16:08 -0700 (PDT)
Received: from MasinterT40 ([130.248.182.31]) by
          mailsj-v1.corp.adobe.com (Netscape Messaging Server 4.15 v1 Jul
          11 2001 16:32:57) with ESMTP id HI8IUW00.5LE; Fri, 18 Jul 2003
          12:16:08 -0700 
From: "Larry Masinter" <LMM@acm.org>
To: "'Peter Thiemann'" <thiemann@informatik.uni-freiburg.de>,
        <urn-nid@apps.ietf.org>
Subject: RE: name space application, copy of submitted internet draft
Date: Fri, 18 Jul 2003 12:18:26 -0700
Message-ID: <006601c34d61$5d148c20$6bce8642@MasinterT40>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4024
In-Reply-To: <m3he6lglgr.fsf@kailua.informatik.uni-freiburg.de>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Peter,

Consider instead of a URN namespace something that was more
compatible with "data:" (RFC 2397),

   "data-hash:" [ mediatype ] [ ";" hash-scheme ] "," hash-value

where mediatype is as in RFC 2397, and hash-scheme and
hash-value are as you've specified.


Note that RFC 2397 allows full content-type strings as 'mediatype',
e.g.,   data-hash:text/plain;charset=utf8;md5,01a1abc41123123121

I'm assuing it's useful to have a default for 'hash-scheme', too.

If you want to default mediatype to 'application/octet-stream',
that would be OK with me.

It seems like you want to identify the body but not the header.
I don't like the idea of making 'hash-scheme' extensible.
It's not "easy" to add a new hash scheme, because old software
would have to be updated.


I'm not particularly happy with the hack you've added for
separating message headers and bodies for message/rfc822. Are
you sure you're putting the multiplex at the right place?
You've added considerable complexity for blanking particular
fields of one particular media type, a whole 'mode' parameter,
all in the name of being able to hash the message body and
some, but not all, of the filters on what actually gets hashed.

Perhaps getting rid of those hacks would make this scheme
useless for the purpose for which you imagined it, but then,
maybe you don't actually need a URI/URN scheme at all, since
this really looks like a special protocol element which is
mainly only useful embedded within some other protocol.

Larry





From exim@www1.ietf.org  Sun Jul 20 15:27:47 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24017
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:41:01 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6q-0006mv-6H
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:36 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeaLx026087
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:36 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6k-0006j1-Uo
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:36 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23909
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:25 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6h-0004Ma-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:27 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6P-0004LX-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:09 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6H-0006bW-IB; Sun, 20 Jul 2003 14:40:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cSvs-0007Uv-Hn
	for urn-nid@optimus.ietf.org; Tue, 15 Jul 2003 12:45:40 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA26544
	for <urn-nid@apps.ietf.org>; Tue, 15 Jul 2003 12:45:34 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cSvq-0003eu-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 12:45:38 -0400
Received: from vorpal.notabug.com ([63.149.73.20] ident=qmailr)
	by ietf-mx with smtp (Exim 4.12)
	id 19cSva-0003ep-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 12:45:22 -0400
Received: (qmail 27606 invoked from network); 15 Jul 2003 16:45:07 -0000
Received: (ofmipd 64.231.179.53); 15 Jul 2003 16:44:45 -0000
Received: from localhost ([127.0.0.1] helo=zooko.com)
	by localhost with esmtp (Exim 3.36 #1 (Debian))
	id 19cSuD-0005pu-00; Tue, 15 Jul 2003 12:43:57 -0400
Date: 15 Jul 2003 12:43:57 -0400
Message-Id: <E19cSuD-0005pu-00@localhost>
From: "Zooko" <zooko@zooko.com>
To: p2p-hackers@zgp.org
Cc: "Benja Fallenstein" <b.fallenstein@gmx.de>, urn-nid@apps.ietf.org,
        thiemann@informatik.uni-freiburg.de
Subject: Re: [p2p-hackers] Re: Comments on draft-thiemann-cbuid-urn-00 
In-Reply-To: Message from Justin Chapweske <justin@chapweske.com> 
   of "Tue, 15 Jul 2003 11:11:35 CDT." <3F1427B7.6010402@chapweske.com> 
References: <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>  <3F1427B7.6010402@chapweske.com> 
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>


 Justin Chapweske wrote:
>
> >     BF> I would suggest adding the ability to use more than one hash function
> >     BF> in the same URN.
> > 
> >     BF> The syntax could look for example like this:
> > 
> >     BF>      urn:cbuid:md5.sha1:<md5-hash>.<sha1-hash>
[...]
> I don't believe this is a good idea from a security perspective.  [...]
[...]
> Zooko, do you have any thoughts on this?  These seem like the types of 
> attacks that you've spent a lot of time thinking about.

I *have* thought about this issue.  The short of it is: I'm not sure how to do 
it right, so I'm not going to do it.

For example, what should the required/allowed behavior be when one of the 
hashes fails to match and the matches?  Are implementors required to check all 
hashes that are included?

I suspect that there might be a way to do secure, smooth, backwards-
compatible upgrade past certain kinds of hash algorithm breakages.  However, 
I haven't seen a complete description of how it would work.

(The algorithm-negotiation features of SSL/TLS might be considered an example 
of what *not* to do, and in any case they cannot be carried over to this 
application since they are interactive.)

So, lacking a clear understanding of how to do secure and useful algorithm 
upgrade, I have satisfied myself with simply hardcoding SHA-1.  I accept that 
the identifiers thus generated might become unreliable in as little as ten 
years' time.  When I *do* decide to change algorithms, I intend to do so 
unambiguously by either changing the namespace or relying on the length of the 
identifier.

Mnet URI's currently look like this:

mnet:38ppp56jbb8b64zrh8reoadzgn1zpdxc76enkmqduwtf4tug

(They use SHA-1, exclusively and non-optionally.)

If I were to change to SHA-256 or something, I would probably make them look 
like one of these:

mnet:7nbcku4ijbk848kgzakqs316hdnbb6magsqag5hybrw1gmqf5b46xwenwz9um1qqhw8o

(Uses the new, longer length to indicate that it uses the new algorithm.)

or:

mneu:7nbcku4ijbk848kgzakqs316hdnbb6magsqag5hybrw1gmqf5b46xwenwz9um1qqhw8o
znet:7nbcku4ijbk848kgzakqs316hdnbb6magsqag5hybrw1gmqf5b46xwenwz9um1qqhw8o
mnet2:7nbcku4ijbk848kgzakqs316hdnbb6magsqag5hybrw1gmqf5b46xwenwz9um1qqhw8o

(Uses a different namespace.)

I'm not at all concerned about using more namespace identifiers.  There will 
be tens of thousands of different namespace identifiers used during the next 
ten years, nearly all of which will immediately die and become corpse 
namespaces.  If Mnet still has any relevance at all in 2013, then it will be 
deserving of another namespace identifier.

Regards,

Zooko

http://zooko.com/




From exim@www1.ietf.org  Sun Jul 20 15:27:48 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23977
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:59 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6m-0006k4-8w
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:32 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeW4n025910
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:32 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6j-0006iu-U6
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:30 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23897
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:24 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6h-0004Mb-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:27 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6P-0004LV-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:09 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6H-0006an-25; Sun, 20 Jul 2003 14:40:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cSRE-00068R-TD
	for urn-nid@optimus.ietf.org; Tue, 15 Jul 2003 12:14:00 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25753
	for <urn-nid@apps.ietf.org>; Tue, 15 Jul 2003 12:13:55 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cSRD-0003L9-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 12:13:59 -0400
Received: from onionnetworks.com ([207.195.206.201] helo=open-content.net)
	by ietf-mx with smtp (Exim 4.12)
	id 19cSQx-0003Kn-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 12:13:43 -0400
Received: (qmail 30509 invoked from network); 15 Jul 2003 16:11:33 -0000
Received: from c-24-118-168-87.mn.client2.attbi.com (HELO chapweske.com) (24.118.168.87)
  by onionnetworks.com with SMTP; 15 Jul 2003 16:11:33 -0000
Message-ID: <3F1427B7.6010402@chapweske.com>
Date: Tue, 15 Jul 2003 11:11:35 -0500
From: Justin Chapweske <justin@chapweske.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: p2p-hackers@zgp.org
CC: Benja Fallenstein <b.fallenstein@gmx.de>, urn-nid@apps.ietf.org,
        thiemann@informatik.uni-freiburg.de
Subject: Re: [p2p-hackers] Re: Comments on draft-thiemann-cbuid-urn-00
References: <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>
In-Reply-To: <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

> 
> Well, I'm pretty sure that the URN scheme should *not* fix one
> particular hash function. Instead, it should be extensible so that it
> does not become obsolete just because a hash function is broken or
> somebody discovers a new super-safe or super-efficient hash function.
> 

I actually disagree.  In order to avoid chosen-algorithm attacks, the 
set of standardized hashes should be kept very small and directly under 
the control of the IETF and at the guidance of the CFRG.  By having it 
as a top level URN scheme such as urn:sha1, implementors will tend to 
focus on the algorithm itself rather than the notion of generic 
hash-based naming.

We must avoid having a generic hash name space that allows developers to 
add new hashes willy-nilly.  I believe that many non crypto-savvy 
developers would tend to support every algorithm specified in the name 
space without understanding that by supporting multiple agorithms you 
introduce a weakest-link condition.

Also, for reasons of interoperability, it would be useful if the number 
of different URNs be kept small.  A large number of the P2P developers 
have agreed upon SHA1 for the time being, which could potentially enable 
very simple interoperability between these systems.

I also think some mechanism should be introduced to deprecate hash 
schemes over time.  So while urn:md5 would be a decent name space to add 
for compatibility with existing MD5-based applications, such a scheme 
should be immediately denoted as being deprecated to avoid having new 
applications adopt MD5.

> 
>     BF> I would suggest adding the ability to use more than one hash function
>     BF> in the same URN.
> 
>     BF> The syntax could look for example like this:
> 
>     BF>      urn:cbuid:md5.sha1:<md5-hash>.<sha1-hash>
> 
> That sounds like a good proposal to me, it gives you increased
> confidence and robustness virtually for free. I'll put a concrete
> syntax proposal at the end of this message.
> 

I don't believe this is a good idea from a security perspective.  I fear 
that most implementors would only verify one of the hashes, and unless 
they make a judicious choice about the hash to verify, they are again 
opening themselves to a chosen-algorithm attack.  Otherwise, 
implementors w/o the proper context to decide which hash is the 
strongest are forced to verify both hashes, which will cut their hashing 
performance roughly in half.

Zooko, do you have any thoughts on this?  These seem like the types of 
attacks that you've spent a lot of time thinking about.

-- 
Justin Chapweske, Onion Networks
http://onionnetworks.com/





From exim@www1.ietf.org  Sun Jul 20 15:27:48 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23976
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:59 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6m-0006kM-Kr
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:32 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeWx1025929
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:32 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6m-0006k8-GK
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:32 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23924
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:27 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6i-0004Mj-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:28 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6T-0004LZ-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:13 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6H-0006c2-Tp; Sun, 20 Jul 2003 14:40:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cZvu-0002MC-EO
	for urn-nid@optimus.ietf.org; Tue, 15 Jul 2003 20:14:10 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA11942
	for <urn-nid@apps.ietf.org>; Tue, 15 Jul 2003 20:14:06 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cZvs-0007Pj-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 20:14:08 -0400
Received: from onionnetworks.com ([207.195.206.201] helo=open-content.net)
	by ietf-mx with smtp (Exim 4.12)
	id 19cZvc-0007P2-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 20:13:52 -0400
Received: (qmail 31892 invoked from network); 16 Jul 2003 00:13:13 -0000
Received: from c-24-118-168-87.mn.client2.attbi.com (HELO chapweske.com) (24.118.168.87)
  by onionnetworks.com with SMTP; 16 Jul 2003 00:13:13 -0000
Message-ID: <3F14989C.2020501@chapweske.com>
Date: Tue, 15 Jul 2003 19:13:16 -0500
From: Justin Chapweske <justin@chapweske.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: p2p-hackers@zgp.org
CC: urn-nid@apps.ietf.org, thiemann@informatik.uni-freiburg.de, cfrg@ietf.org
Subject: Re: [p2p-hackers] Cryptographic hashes in URNs
References: <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>  <3F1427B7.6010402@chapweske.com> <E19cSuD-0005pu-00@localhost> <3F1486C8.3000706@gmx.de>
In-Reply-To: <3F1486C8.3000706@gmx.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

>  > A large number of the P2P developers have agreed upon SHA1 for the time
>  > being, which could potentially enable very simple interoperability
> 
>> between these systems.
> 
> 
> True, but there are also the two technical points against using SHA1 alone:
> 
> - Many systems today use hash trees for multisource downloading. (Of 
> course you can use a SHA1 hash tree, but that obviously doesn't give you 
> the interoperability with plain SHA1 systems.)
> - Using just one function makes repair after the function is broken much 
> more difficult (again, more below).
> 

As they are defined today 
(http://open-content.net/specs/draft-jchapweske-thex-02.html), the tree 
hashes are parametizable to allow different file segment (leaf) sizes to 
be specified.  IFAIK other traditional digest algorithms are set in 
stone, allowing no parameterization(?).

If appropriate, I would be interested in certain hash tree forms being 
validated and standardized as normal digest functions.  This would allow 
hash tree forms to be incorporated into existing standards that rely on 
a normal digest function.

In regards to using multiple functions, most current systems that output 
multiple functions simply output them as multiple seperate pieces of 
metadata.  For instance, a system could output something like the following:

X-Content-URN: urn:sha1:FAB6CX2GZSWOOWCPXXBYSFBUSN4LIGTF
X-Content-URN: urn:tree:tiger:3FOBMWPE2JED5DUN2VA6J7DGSNJNJILE4HRF6SQ

I believe that in many systems the hashes will simply be treated as 
pieces of meta-data that are used to verify the integrity of a file. 
Just because they contain 'urn' in them doesn't mean that they have to 
be used as identifiers.  So, if you look at it from the meta-data 
perspective, I think its natural to use multiple independant hashes 
rather them glomming them all together.

> (I don't see why Justin thinks that verifying only one hash would 
> introduce chosen-algorithm attacks, though. Assume that a verifier is 
> capable of verifying both g(.) and h(.), but verifies only g(.), which 
> happens to be insecure. I think it is reasonable to think that the 
> verifier would also accept a URN including *only* a g(.) hash; thus, the 
> double hash isn't necessary for the attack. And if the developer of the 
> verifier knew that g(.) was insecure, surely they wouldn't make their 
> program verify only g(.) in the first place. Maybe someone can enlighten 
> me on chosen-algorithm attacks made possible by using two functions.)

My point is subtle and perhaps irrelevant, but let me try to clarify:

When I see something like:

urn:hash:sha1.md5:<foo>

This implies to me that I am obligated (not sure to whom) to verify both 
hashes.  I believe these semantics are reasonable, however you will find 
very few developers will be willing to follow these semantics and verify 
both hashes.

However, when I see something like:

X-Content-URN: urn:md5:42J46YB3Y3OLLFYL52B4LNDE34
X-Content-URN: urn:sha1:FAB6CX2GZSWOOWCPXXBYSFBUSN4LIGTF
X-Content-URN: urn:tree:tiger:3FOBMWPE2JED5DUN2VA6J7DGSNJNJILE4HRF6SQ
X-Content-URN: urn:crc32:<foo>

This implies to me that I should apply some sort of ranking between the 
algorithms and not use any that are below my standards.  If I am not 
confident about any single hash, I am free to verify multiple of them.

Obviously from a technical perspective, both approaches are the same, it 
just seems to me that the first approach invites developers to defy the 
semantics, while the second approach is likely to be a healthier approach.

I am not a developer psychologist, so I'm very open to other viewpoints 
on this.

-- 
Justin Chapweske, Onion Networks
http://onionnetworks.com/





From exim@www1.ietf.org  Sun Jul 20 15:27:49 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23995
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:41:00 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6o-0006mD-BC
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:34 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeYu2026042
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:34 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6m-0006kf-Pm
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:32 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23928
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:27 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6i-0004Ml-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:28 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6T-0004La-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:13 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6I-0006co-4i; Sun, 20 Jul 2003 14:40:02 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cajM-0004U6-QS
	for urn-nid@optimus.ietf.org; Tue, 15 Jul 2003 21:05:16 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA12968
	for <urn-nid@apps.ietf.org>; Tue, 15 Jul 2003 21:05:12 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cajK-000019-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 21:05:14 -0400
Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net)
	by ietf-mx with smtp (Exim 4.12)
	id 19caj4-00000a-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 21:04:58 -0400
Received: (qmail 30279 invoked by uid 65534); 16 Jul 2003 01:03:52 -0000
Received: from pD9E12AAC.dip.t-dialin.net (EHLO gmx.de) (217.225.42.172)
  by mail.gmx.net (mp021) with SMTP; 16 Jul 2003 03:03:52 +0200
Message-ID: <3F14A421.5010502@gmx.de>
Date: Wed, 16 Jul 2003 03:02:25 +0200
From: Benja Fallenstein <b.fallenstein@gmx.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030704 Debian/1.4-1
X-Accept-Language: en
MIME-Version: 1.0
To: p2p-hackers@zgp.org
CC: urn-nid@apps.ietf.org, thiemann@informatik.uni-freiburg.de, cfrg@ietf.org
Subject: Re: [p2p-hackers] Cryptographic hashes in URNs
References: <3F0DC458.6090401@gmx.de> <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>  <3F1427B7.6010402@chapweske.com> <E19cSuD-0005pu-00@localhost> <3F1486C8.3000706@gmx.de> <3F14989C.2020501@chapweske.com>
In-Reply-To: <3F14989C.2020501@chapweske.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


Hi,

Justin Chapweske wrote:
> If appropriate, I would be interested in certain hash tree forms being 
> validated and standardized as normal digest functions.  This would allow 
> hash tree forms to be incorporated into existing standards that rely on 
> a normal digest function.

Seems appropriate to me.

> In regards to using multiple functions, most current systems that output 
> multiple functions simply output them as multiple seperate pieces of 
> metadata.  For instance, a system could output something like the 
> following:
> 
> X-Content-URN: urn:sha1:FAB6CX2GZSWOOWCPXXBYSFBUSN4LIGTF
> X-Content-URN: urn:tree:tiger:3FOBMWPE2JED5DUN2VA6J7DGSNJNJILE4HRF6SQ
> 
> I believe that in many systems the hashes will simply be treated as 
> pieces of meta-data that are used to verify the integrity of a file. 
> Just because they contain 'urn' in them doesn't mean that they have to 
> be used as identifiers.  So, if you look at it from the meta-data 
> perspective, I think its natural to use multiple independant hashes 
> rather them glomming them all together.

Well, I use them as context-less names that resolve to something; and 
you simply cannot give two different URNs in one <a href="...">. If you 
use them as metadata about a different resource, then I agree you don't 
need to put different hashes into a single URN.

(OTOH, if you go the other way around, and want to give RDF metadata 
about a resource identified by a hash-URN-- e.g., ratings or 
locations--, there are good reasons for using a URN with more than one 
hash again, so that the resource name you store information about 
doesn't need to become invalid if one hash function is broken.)

>> (I don't see why Justin thinks that verifying only one hash would 
>> introduce chosen-algorithm attacks, though. Assume that a verifier is 
>> capable of verifying both g(.) and h(.), but verifies only g(.), which 
>> happens to be insecure. I think it is reasonable to think that the 
>> verifier would also accept a URN including *only* a g(.) hash; thus, 
>> the double hash isn't necessary for the attack. And if the developer 
>> of the verifier knew that g(.) was insecure, surely they wouldn't make 
>> their program verify only g(.) in the first place. Maybe someone can 
>> enlighten me on chosen-algorithm attacks made possible by using two 
>> functions.)
> 
> My point is subtle and perhaps irrelevant, but let me try to clarify:
> 
> When I see something like:
> 
> urn:hash:sha1.md5:<foo>
> 
> This implies to me that I am obligated (not sure to whom) to verify both 
> hashes.  I believe these semantics are reasonable, however you will find 
> very few developers will be willing to follow these semantics and verify 
> both hashes.

I dunno... if the spec explains how this is a security leak, and the 
developers still do it, I think there's little I can do...

> However, when I see something like:
> 
> X-Content-URN: urn:md5:42J46YB3Y3OLLFYL52B4LNDE34
> X-Content-URN: urn:sha1:FAB6CX2GZSWOOWCPXXBYSFBUSN4LIGTF
> X-Content-URN: urn:tree:tiger:3FOBMWPE2JED5DUN2VA6J7DGSNJNJILE4HRF6SQ
> X-Content-URN: urn:crc32:<foo>
> 
> This implies to me that I should apply some sort of ranking between the 
> algorithms and not use any that are below my standards.  If I am not 
> confident about any single hash, I am free to verify multiple of them.

I would actually agree with your assessments of the meaning of both 
statements -- the first implies you have to verify both, the second 
implies you have to verify as many as you deem necessary.

So your point is: Because many developers will-- maybe-- use the second 
kind of semantics always, having the form aiming for the first kind of 
semantics is futile.

I need the first kind of semantics, though, if I want to use hash URNs 
as reliable, trusted, *context-less* identifiers. (I.e., without being 
able to give more than one URN in an <a href>.) I think having a way to 
convey these semantics would be good, even if some people will implement 
it in an insecure way.

Seems to me like this is generally useful where people use URNs for 
identifiers. I mean, when I post a URN in a forum, giving two URNs seems 
less practical and posting a number of URNs and saying "Download as many 
of these as you need to meet your security requirements, and verify that 
they are all equal" seems weird. :-) You should click on it and your 
software should handle the rest.

My current thinking is that if the spec explains in which way verifying 
only one hash is a security leak, and if developers still do it, then 
it's an issue between the developers and their users-- if the users and 
developers are willing to accept the security leak of having somebody 
recommend a URN they haven't fully checked, then that's their problem, 
I'd think.

- Benja





From exim@www1.ietf.org  Sun Jul 20 15:27:49 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23971
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 14:40:58 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6l-0006jj-D9
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:31 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KIeVtw025889
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 14:40:31 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6l-0006jE-8R
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 14:40:31 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23915
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 14:40:25 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6i-0004MZ-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:28 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJ6P-0004LT-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 14:40:09 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJ6G-0006aQ-Ii; Sun, 20 Jul 2003 14:40:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19cRZZ-0003Jr-3P
	for urn-nid@optimus.ietf.org; Tue, 15 Jul 2003 11:18:34 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA23747
	for <urn-nid@apps.ietf.org>; Tue, 15 Jul 2003 11:18:28 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cRZY-0002rs-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 11:18:32 -0400
Received: from avalon.informatik.uni-freiburg.de ([132.230.150.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19cRZH-0002rX-00
	for urn-nid@apps.ietf.org; Tue, 15 Jul 2003 11:18:16 -0400
Received: from wailoa.informatik.uni-freiburg.de (wailoa.informatik.uni-freiburg.de [132.230.166.120])
	by avalon.informatik.uni-freiburg.de (8.9.3p2/8.9.0) with ESMTP id RAA16888;
	Tue, 15 Jul 2003 17:17:28 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by wailoa.informatik.uni-freiburg.de (8.11.6p2/8.11.6) id h6FFHNx18981;
	Tue, 15 Jul 2003 17:17:23 +0200
X-Authentication-Warning: wailoa.informatik.uni-freiburg.de: thiemann set sender to thiemann@informatik.uni-freiburg.de using -f
To: Benja Fallenstein <b.fallenstein@gmx.de>
Cc: p2p-hackers@zgp.org, urn-nid@apps.ietf.org
Subject: Re: Comments on draft-thiemann-cbuid-urn-00
References: <3F0DC458.6090401@gmx.de>
CC: thiemann@informatik.uni-freiburg.de
From: Peter Thiemann <thiemann@informatik.uni-freiburg.de>
Date: 15 Jul 2003 17:14:37 +0200
In-Reply-To: <3F0DC458.6090401@gmx.de>
Message-ID: <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>
Lines: 252
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>

Dear Benja,

    BF> [cc:ed to p2p-hackers and urn-nid]

    BF> I just saw your recent I-D in the archives of the urn-nid mailing
    BF> list. (I'm not subscribed, thus the delay in reaction.)

    BF> http://lists.research.netsol.com/pipermail/urn-nid/2003-June/000348.html
[
Nice to see that somebody is listening to this list, since nobody is
really subscribed to it. I only received a message that my message
awaits moderator approval.
]

    BF> I'm working on a system (Storm,
    BF> <http://sv.gnu.org/projects/storm/>)

The project description link on that page is stale.

    BF> having very similar addressing needs; in fact, I've been in the
    BF> process of preparing a registration for an informal URN namespace
    BF> using MIME type + cryptographic hash to identify typed octet stream
    BF> resources. We are building a p2p-based extension to the Web, based on
    BF> this.

This is not quite what we are after. We are interested in using p2p
techniques for implementing a global sharable mail store. The main
application is to use the ids as a replacement for IMAP's concept of
message uids to allow for easy synchronization of client caches and
replicas of the mail server. Hence the bias towards the message/rfc822
type in the draft. However, the intention was to design a scheme which
is usable for other information storage and retrieval. Perhaps, your
storm project can provide the storage layer that we need? 

    BF> 'bitprints'-- ...

Thanks for the pointer! I was not aware of those efforts.

    BF> I hope that we can archieve some collaboration here. It would be good
    BF> if we could reach agreement on a single namespace, so that URNs in
    BF> this namespace can be resolved with either of our systems.

Same here.

    BF> Below are some high-level comments regarding the approach of your
    BF> I-D. (I'll save low-level comments for a later stage of the
    BF> discussion. :) )

    BF> - It seems obvious that a shared namespace would be a good thing. If
    BF>   someone made a link between two files in one of your repositories,
    BF>   for example, and someone else published the linked-to file using our
    BF>   system, then a browser understanding both systems could follow the
    BF>   link from your repository by downloading the file through our
    BF>   system.

I agree completely. That's why we made some effort in keeping the
scheme simple and extensible. This kind of support also makes the
namespace application stronger. 

    BF> - Your proposal attempts to be general by allowing different hash
    BF>   functions to be used. I am wondering about that: It seems good
    BF>   practice to keep protocol parameters extensible, but it also means
    BF>   that there will be different ids for the same resource-- impractical
    BF>   when you try to look it up under one id, but it's stored under
    BF>   another!

My general feeling is that this is not a huge problem as long as you
stay inside one application framework. For example, in our
application, you perform search queries against a database of meta
information and then you get the results in terms of these URNs. Next,
you try to retrieve (some of) these URNs basically from known hosts. 
So our application relies more on the uniqueness properties to achieve
distribution and replication rather than on the naming function.

    BF> On the other hand, if you say "it's *this* hash" there will be
    BF> people who'll want to use another, and they'd have to create
    BF> their own namespace. Since this is not a standard-- it's an
    BF> informational RFC--  
    BF> there is no reason why they wouldn't.

    BF> I think the way to go would be to provide a general namespace for
    BF> hash-based URNs, but to specify one 'prefered' way to use it, noting
    BF> that there are several systems implementing this way, already. But I'm
    BF> not sure.

Well, I'm pretty sure that the URN scheme should *not* fix one
particular hash function. Instead, it should be extensible so that it
does not become obsolete just because a hash function is broken or
somebody discovers a new super-safe or super-efficient hash function.

    BF> - All your identifiers use only a single hash function. Especially for
    BF>   URNs, which are supposed to be long-lived, there is a good reason to
    BF>   use hashes generated by more than one function: If one of the
    BF>   functions is broken (but the other isn't simultaneously), the ids
    BF>   don't become useless; you can use timestamping to extend the
    BF>   lifetime of your ids indefinitely (as long as the two hash functions
    BF>   you happen to use at a given time are never broken
    BF>   simultaneously). [unforch the only reference I can find on this
    BF>   right now is the US patent on it :-(, # 5,373,561
    BF>   <http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/srchnum.htm&r=1&f=G&l=50&s1=5,373,561.WKU.&OS=PN/5,373,561&RS=PN/5,373,561>.]   

This is interesting but not directly relevant (I think) because we are not
dealing with certificates here. Rather you want to increase the
confidence (if a server supports more than one hash function) and
robustness (if a server supports just one of a selection of hashes) of
a data access. I really don't see why timestamping should be required
because each hash value lives indefinitely long.

    BF> I would suggest adding the ability to use more than one hash function
    BF> in the same URN.

    BF> The syntax could look for example like this:

    BF>      urn:cbuid:md5.sha1:<md5-hash>.<sha1-hash>

That sounds like a good proposal to me, it gives you increased
confidence and robustness virtually for free. I'll put a concrete
syntax proposal at the end of this message.

    BF> - Our project picked bitprint to be compatible-- because there were
    BF>   already at least two other independent projects using it, and it was
    BF>   explicitly promoted in the interest of compatibility. So I would
    BF>   suggest bitprints as the 'recommended' set of hash functions for
    BF>   this system. Using the above example syntax, they'd read like this:

    BF>      urn:cbuid:sha1.tigertree:<sha1-hash>.<tigertree-hash>

I don't think this recommendation should be a part of a namespace
application. This choice is really application dependent, so it is
part of the application's description. I would not mind, though, to
use it in an example (like: if you transform the id like this, then
you get a valid bitprint id), I just would not want to make a
normative statement. 

    BF> - The emerging 'industry standard' at least in the p2p community seems
    BF>   to encode hashes in base32; it provides shorter ids than base16
    BF>   (hex), yet is also case-insensitive and uses only
    BF>   alphanumerics. Using the same hash, but different ASCII
    BF>   representations seems really icky: You *are* using the same
    BF>   technology, yet your ids don't resemble each other at all. I suggest
    BF>   that you use base32 in your namespace; see RFC 3548 if you need a
    BF>   definition.

This is a hairy issue. I understand your reasoning. After studying the
RFC I tend *not* to commit to any particular coding, but rather make
the encoding a parameter with some reasonable default. Then the
identifier equivalence section should state explicitly which
representation is considered the normalized one. 

I'm not sure about the reasonable default.
Can you give me a reason why p2p folks stick to base32? I don't really
see an advantage over base64 for ids that are never handled by humans.

    BF> - Your mechanism for hashing parts of an email separately is quite
    BF>   application-specific; that's a pity, given that the namespace is
    BF>   quite generally useful otherwise. Different applications may very
    BF>   easily have different needs for breaking up an entity into parts;
    BF>   for example, I could easily imagine that somebody would like to hash
    BF>   each body part of a multipart message independently.

This is a misunderstanding of the intention, so this requires
clarification in an update of the draft. The point is that many data
formats contain header or other meta information (emails, images,
mp3). The mode parameter signals that this meta information is
ignored and only the raw contents are hashed. Since the hash only
determines the raw contents, the specification needs to define how to
complete the contents to a valid instance document of the specified
type. In the case of an email message, this means to add the required
fields from the RFC2822 specification. For other formats, other things
have to be done. And for formats that only consist of raw contents, it
will not make sense to define a mode 1 id.

    BF> It seems like solving your need through some mechanism outside this
    BF> namespace registration would make the namespace simpler and more
    BF> generally useful. What exactly do you need it for, anyway?

see the top of this mesage.


    BF> - Two syntax considerations: Firstly, it would seem like a good idea
    BF>   to choose a syntax similar to that of RFC 2397 (The "data" URL
    BF>   scheme) since it also represents the MIME types of the resources it
    BF>   identifies in the URI. So you'd have something like,

    BF>      urn:cbuid:sha1:text/plain,<sha1-hash>

I don't think it is a good idea to put the mediatype at this point
because it separates the sha1 and the <sha1-hash> fields which belong
together, logically. 

    BF> In the flavor of URI that doesn't include content types, you could
    BF> simply leave that part off.

    BF>      urn:cbuid:sha1:<sha1-hash>

    BF> (Unambiguous because hashes cannot contain commas.) This would
    BF> probably make the scheme more attractive to folks who don't want to
    BF> include content types, since there would be no 'artefacts' (":*:")
    BF> related to them in the content-type-less syntax.

I don't see the point of doing so. Fact is that the ids are to be
processed by machines and only occasionally will they pop up "in the
human eye". Reading and writing them should be straightforward
to implement. Hence, my preference is to have a fixed number of fields
separated by ":" and simply leave unspecified slots empty (admittedly,
the "*" is artificial). That is

	urn:cbuid::sha1.tigertree::<sha1-hash>.<tigertree-hash>

[the empty slot after the sha1.tigertree is reserved for specifying the
encoding of the following hashes, see the grammar below]

    BF> Secondly and finally, cbuid is hard to remember and easy to misspell,
    BF> IMHO. If it's going to be a general namespace for cryptographic
    BF> hash-based id, I'd propose simply calling it 'hash'--

    BF>     urn:hash:sha1:<sha1-hash>

Well, I could be talked into that. The name 'cbuid' stems from the idea
that those URNs are going to generalize IMAP's uids as mentioned
above. However, given that these URNs are not for human consumption
(or are they), I see no convincing technical argument in favor of any
particular name. Do you have one?

Proposed Grammar:

   cbuid-nss   = type-spec ":" hash *1(":" type-specific-extension)
   type-spec   = [media-type *parameter]
   parameter   = ";" "mode" "=" 1*DIGIT / ";" token "=" token
   token       = 1*(ALPHA / DIGIT)
   hash        = hash-scheme ":" hash-enc ":" hash-values *("/" hash-values)
   hash-scheme = hash-item *("." hash-item)
   hash-item   = "md5" / "sha1" / "hash127" / hash-token
   hash-token  = token
   hash-enc    = ["base16" / "base32" / "base64"]
   hash-values = hash-value *("." hash-value)
   hash-value  = token

Changes:
- typespec can be empty
- more than one hash function
- hash-enc[oding] added

Questions:
* does there have to be a registry for names of hash functions?
  Clearly, the namespace definition cannot be updated for each new
  hash function.
* which value of <hash-enc> should be the default (and probably be the
  result of the normalization process)? I can guess your answer...

Best wishes
-Peter




From exim@www1.ietf.org  Sun Jul 20 18:38:36 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA29936
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 18:38:36 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eMol-0004Wg-Rm
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 18:38:12 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6KMcB3u017392
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 18:38:11 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eMol-0004WR-MY
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 18:38:11 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA29933
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 18:38:05 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eMoi-0005dL-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 18:38:08 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eMod-0005dI-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 18:38:03 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eMoa-0004Vv-Cz; Sun, 20 Jul 2003 18:38:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eMoR-0004Va-UP
	for urn-nid@optimus.ietf.org; Sun, 20 Jul 2003 18:37:51 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA29927
	for <urn-nid@apps.ietf.org>; Sun, 20 Jul 2003 18:37:45 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eMoO-0005d9-00
	for urn-nid@apps.ietf.org; Sun, 20 Jul 2003 18:37:49 -0400
Received: from [209.10.143.221] (helo=neonym.net)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eMo4-0005cv-00
	for urn-nid@apps.ietf.org; Sun, 20 Jul 2003 18:37:28 -0400
Received: from [207.120.28.115] ([::ffff:207.120.28.115])
  (AUTH: PLAIN michael, )
  by neonym.net with esmtp; Sun, 20 Jul 2003 04:22:08 -0400
Subject: Re: [Cfrg] Cryptographic hashes in URNs (was: Comments on
	draft-thiemann-cbuid-urn-00)
From: Michael Mealling <michael@neonym.net>
To: Carl Ellison <cme@jf.intel.com>
Cc: Benja Fallenstein <b.fallenstein@gmx.de>, p2p-hackers@zgp.org,
        urn-nid@apps.ietf.org, thiemann@informatik.uni-freiburg.de,
        cfrg@ietf.org
In-Reply-To: <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>
References: <E19cSuD-0005pu-00@localhost> <3F0DC458.6090401@gmx.de>
	 <m3oezvu8iq.fsf@kailua.informatik.uni-freiburg.de>
	 <3F1427B7.6010402@chapweske.com> <E19cSuD-0005pu-00@localhost>
	 <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>
Organization: Harriman Heavy Industries, Inc.
Message-Id: <1058740510.3214.1.camel@blackdell.neonym.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.2.2 
Date: 20 Jul 2003 18:35:10 -0400
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On Wed, 2003-07-16 at 11:06, Carl Ellison wrote:
> 	I apparently don't know the rules for URN formation.  I thought it
> was completely free after the "urn:".  Is that not true?

Essentially, yes. There are syntactic restrictions that exist for all
URIs but that's fairly generic. URNs still have to be persistent so you
can put things like domain-names in there unless you time/date stamp
them....

-Michael Mealling 





From exim@www1.ietf.org  Sun Jul 20 23:03:47 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA04057
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 23:03:46 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eQxL-0001rU-6b
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 23:03:20 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6L33HCv007141
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 23:03:17 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eQxJ-0001r5-33
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 23:03:17 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA04040
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 23:03:10 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eQxF-0006r3-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 23:03:13 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eQx9-0006qw-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 23:03:07 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eQx5-0001oj-FD; Sun, 20 Jul 2003 23:03:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eK7V-0000Y4-EW
	for urn-nid@optimus.ietf.org; Sun, 20 Jul 2003 15:45:23 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA26578
	for <urn-nid@apps.ietf.org>; Sun, 20 Jul 2003 15:45:17 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eK7U-0004jT-00
	for urn-nid@apps.ietf.org; Sun, 20 Jul 2003 15:45:20 -0400
Received: from avalon.informatik.uni-freiburg.de ([132.230.150.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eK7E-0004ij-00
	for urn-nid@apps.ietf.org; Sun, 20 Jul 2003 15:45:04 -0400
Received: from wailoa.informatik.uni-freiburg.de (wailoa.informatik.uni-freiburg.de [132.230.166.120])
	by avalon.informatik.uni-freiburg.de (8.9.3p2/8.9.0) with ESMTP id VAA01133;
	Sun, 20 Jul 2003 21:44:09 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by wailoa.informatik.uni-freiburg.de (8.11.6p2/8.11.6) id h6KJi5q05455;
	Sun, 20 Jul 2003 21:44:05 +0200
X-Authentication-Warning: wailoa.informatik.uni-freiburg.de: thiemann set sender to thiemann@informatik.uni-freiburg.de using -f
To: "Larry Masinter" <LMM@acm.org>
Cc: <urn-nid@apps.ietf.org>
Subject: Re: name space application, copy of submitted internet draft
References: <006601c34d61$5d148c20$6bce8642@MasinterT40>
CC: thiemann@informatik.uni-freiburg.de
From: Peter Thiemann <thiemann@informatik.uni-freiburg.de>
Date: 20 Jul 2003 21:41:14 +0200
In-Reply-To: <006601c34d61$5d148c20$6bce8642@MasinterT40>
Message-ID: <m3d6g53s11.fsf@kailua.informatik.uni-freiburg.de>
Lines: 107
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>

Dear Larry,
>>>>> "lmm" == Larry Masinter <LMM@acm.org> writes:

    lmm> Peter,

    lmm> Consider instead of a URN namespace something that was more
    lmm> compatible with "data:" (RFC 2397),

    lmm>    "data-hash:" [ mediatype ] [ ";" hash-scheme ] "," hash-value

    lmm> where mediatype is as in RFC 2397, and hash-scheme and
    lmm> hash-value are as you've specified.

    lmm> Note that RFC 2397 allows full content-type strings as 'mediatype',
    lmm> e.g.,   data-hash:text/plain;charset=utf8;md5,01a1abc41123123121

    lmm> I'm assuing it's useful to have a default for 'hash-scheme', too.

    lmm> If you want to default mediatype to 'application/octet-stream',
    lmm> that would be OK with me.

I received a lot of feedback from several p2p mailinglists about the
draft proposal. Here is the summary of those comments and my proposed
reactions. 

1. the quasi-standard encoding of hash-value in p2p applications is
   base32 (RFC 3548) because
1.0 base32 is 25% shorter than base16
1.1 Content identifiers may appear inside other URIs or as
    filenames. Base64 characters may need to be escaped.
1.2 Content identifiers may get catalogued by full-text indexers
    (eg. google), Base64 contains punctuation characters. 
1.3 Truncated base32 to 4-6 characters is used as a nickname

1-action: base32 encoding for hash-value

    lmm> I don't like the idea of making 'hash-scheme' extensible.
    lmm> It's not "easy" to add a new hash scheme, because old software
    lmm> would have to be updated.

2. There was a lot of debate about hash-scheme. The biggest concern
   was that it should not be possible to add new hash-schemes
   easily, but mostly due to fear of broken hash functions.

2-action: fix all usable hash-schemes in the namespace definition. The
currently discussed list includes md5 (deprecated), sha1, sha256,
tiger and the combinations sha1.tiger (in common use) and
sha256.tiger. The precise semantics of a combined hash is still under
discussion.
[re your remark: from my understanding, it would be in line with the
meaning of URNs if not every resolver supported every possible
hash-scheme]

3. The meaning of the mediatype part was subject to discussion,
   too. The idea was that it should be verifiable or endorsable with
   the hash of the resource.

3-action: if media-type is specified, then the hash is computed from
the concatenation of the content-type/subtype and the actual
resource. This way, an endorsement of a URN means that the endorsing
party "vouches" for both the content of the resource and its
mediatype. This procedure also seems to make URNs harder to forge
(since not all content bits are arbitrary).

4. Compatibility with data was also discussed. 

4-action: Since the main target audience of the identifiers are
machines, the format should be trivial to parse. That lead to the
following revised syntax proposal

    lmm>    "data-hash:" [ mediatype ] [ ";" hash-scheme ] "," hash-value

   nss         = [mediatype] ":" [hash-scheme] ":" hash-value

   hash-scheme = hash-item *("." hash-item)
   hash-item   = "md5" / "sha1" / "sha256" / "tiger"
   hash-values = hash-value *("." hash-value)
   hash-value  = token

5. The name of the scheme.

5-action: does not really matter to me. Another proposal was to use
just "hash" (which would be short and sweet).

If that sounds acceptable to you, I'll revise the draft and resubmit it.

    lmm> I'm not particularly happy with the hack you've added for
    lmm> separating message headers and bodies for message/rfc822. Are
    lmm> you sure you're putting the multiplex at the right place?
    lmm> It seems like you want to identify the body but not the header.
    lmm> You've added considerable complexity for blanking particular
    lmm> fields of one particular media type, a whole 'mode' parameter,
    lmm> all in the name of being able to hash the message body and
    lmm> some, but not all, of the filters on what actually gets hashed.

    lmm> Perhaps getting rid of those hacks would make this scheme
    lmm> useless for the purpose for which you imagined it, but then,
    lmm> maybe you don't actually need a URI/URN scheme at all, since
    lmm> this really looks like a special protocol element which is
    lmm> mainly only useful embedded within some other protocol.

The discussion so far has convinced me that your argumentation here is
right. What the hack was meant for was a replacement for IMAP's UIDs,
so I will propose it separately just as that.

-Peter





From exim@www1.ietf.org  Sun Jul 20 23:52:46 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA04056
	for <urn-nid-archive@odin.ietf.org>; Sun, 20 Jul 2003 23:03:46 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eQxL-0001rV-6j
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 23:03:20 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6L33HYK007145
	for urn-nid-archive@odin.ietf.org; Sun, 20 Jul 2003 23:03:17 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eQxI-0001r4-VQ
	for urn-nid-web-archive@optimus.ietf.org; Sun, 20 Jul 2003 23:03:17 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA04038
	for <urn-nid-web-archive@ietf.org>; Sun, 20 Jul 2003 23:03:10 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eQxF-0006r1-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 23:03:13 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eQx9-0006qv-00
	for urn-nid-web-archive@ietf.org; Sun, 20 Jul 2003 23:03:07 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eQx3-0001oR-Nh; Sun, 20 Jul 2003 23:03:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eJFL-0006zq-SK
	for urn-nid@optimus.ietf.org; Sun, 20 Jul 2003 14:49:23 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24336
	for <urn-nid@apps.ietf.org>; Sun, 20 Jul 2003 14:49:18 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJFJ-0004Rc-00
	for urn-nid@apps.ietf.org; Sun, 20 Jul 2003 14:49:21 -0400
Received: from fia224-72.dsl.hccnet.nl
	([62.251.72.224] helo=foem.leiden.webweaving.org ident=chuck)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eJF3-0004RH-00
	for urn-nid@apps.ietf.org; Sun, 20 Jul 2003 14:49:05 -0400
Received: from foem (foem [10.11.0.2])
	by foem.leiden.webweaving.org (8.12.6/8.12.6) with ESMTP id h6KImUqq077536
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Sun, 20 Jul 2003 20:48:30 +0200 (CEST)
	(envelope-from dirkx@webweaving.org)
Date: Sun, 20 Jul 2003 20:48:30 +0200 (CEST)
From: Dirk-Willem van Gulik <dirkx@webweaving.org>
X-X-Sender: dirkx@foem
To: Carl Ellison <cme@jf.intel.com>
cc: Benja Fallenstein <b.fallenstein@gmx.de>, <p2p-hackers@zgp.org>,
        <urn-nid@apps.ietf.org>, <thiemann@informatik.uni-freiburg.de>,
        <cfrg@ietf.org>
Subject: Re: [Cfrg] Cryptographic hashes in URNs (was: Comments on 
 draft-thiemann-cbuid-urn-00)
In-Reply-To: <3.0.5.32.20030716080607.018df0c8@mailbox.jf.intel.com>
Message-ID: <20030720204545.T1449-100000@foem>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>



On Wed, 16 Jul 2003, Carl Ellison wrote:

> 	Is urn:sha1:dRDPBgZzTFq7Jl2Q2N/YNghcfj8= not now legal?

Until there is a registered URN namespace/authority called 'sha1' - nope.

You could use x-sha1 - but that is kind of frowned upon.

> >     urn:sha1:...
> >     urn:sha256:...
> >     urn:tiger:...
> >     urn:sha1+sha256:...
> >     urn:sha1+tiger:...
> >     urn:sha256+tiger:...
> >     urn:sha1+sha256+tiger:...

Or regigster

	urn:assortedhashes:....
or
	urn:hash:....

and write an RFC which would document that it has to have the
shape:

	urn:hash:[a-z\+]+:<base32string>

And then in that RFC either define all of the above; or devise a scheme
by which additional A+B+C's can be added to that block.

Obviously in the above replace s/hash/by-whatever/ you want.

Dw.





From exim@www1.ietf.org  Mon Jul 21 09:11:39 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA26453
	for <urn-nid-archive@odin.ietf.org>; Mon, 21 Jul 2003 09:11:39 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eaRd-0004Fa-0p
	for urn-nid-archive@odin.ietf.org; Mon, 21 Jul 2003 09:11:13 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6LDBDkm016334
	for urn-nid-archive@odin.ietf.org; Mon, 21 Jul 2003 09:11:13 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eaRc-0004FN-Ta
	for urn-nid-web-archive@optimus.ietf.org; Mon, 21 Jul 2003 09:11:12 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA26448
	for <urn-nid-web-archive@ietf.org>; Mon, 21 Jul 2003 09:11:08 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eaRb-0002iT-00
	for urn-nid-web-archive@ietf.org; Mon, 21 Jul 2003 09:11:11 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19eaRV-0002iN-00
	for urn-nid-web-archive@ietf.org; Mon, 21 Jul 2003 09:11:05 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eaRR-0004Eq-6y; Mon, 21 Jul 2003 09:11:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19eZhh-0002mQ-NO
	for urn-nid@optimus.ietf.org; Mon, 21 Jul 2003 08:23:45 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA25567
	for <urn-nid@apps.ietf.org>; Mon, 21 Jul 2003 08:23:41 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19eZhg-0002R0-00
	for urn-nid@apps.ietf.org; Mon, 21 Jul 2003 08:23:44 -0400
Received: from imap.gmx.net ([213.165.64.20] helo=mail.gmx.net)
	by ietf-mx with smtp (Exim 4.12)
	id 19eZhQ-0002Qc-00
	for urn-nid@apps.ietf.org; Mon, 21 Jul 2003 08:23:28 -0400
Received: (qmail 5717 invoked by uid 65534); 21 Jul 2003 12:22:22 -0000
Received: from pD9588280.dip.t-dialin.net (EHLO gmx.de) (217.88.130.128)
  by mail.gmx.net (mp003) with SMTP; 21 Jul 2003 14:22:22 +0200
Message-ID: <3F1BDAA2.4070504@gmx.de>
Date: Mon, 21 Jul 2003 14:20:50 +0200
From: Benja Fallenstein <b.fallenstein@gmx.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030704 Debian/1.4-1
X-Accept-Language: en
MIME-Version: 1.0
To: Peter Thiemann <thiemann@informatik.uni-freiburg.de>
CC: Larry Masinter <LMM@acm.org>, urn-nid@apps.ietf.org
Subject: Re: name space application, copy of submitted internet draft
References: <006601c34d61$5d148c20$6bce8642@MasinterT40> <m3d6g53s11.fsf@kailua.informatik.uni-freiburg.de>
In-Reply-To: <m3d6g53s11.fsf@kailua.informatik.uni-freiburg.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


Hi Peter,

two points on your latest thoughts--

Peter Thiemann wrote:
> 2-action: fix all usable hash-schemes in the namespace definition. The
> currently discussed list includes md5 (deprecated), sha1, sha256,
> tiger and the combinations sha1.tiger (in common use) and
> sha256.tiger. The precise semantics of a combined hash is still under
> discussion.

The one in common use is sha1.tigertree, i.e. a Merkle tree hash based 
on the Tiger function.

Will have to ask Gordon and Justin for the latest spec, there was some 
backwards-incompatible change because someone discovered a serious 
security hole. The URNs should use the new spec.

> 3-action: if media-type is specified, then the hash is computed from
> the concatenation of the content-type/subtype and the actual
> resource. This way, an endorsement of a URN means that the endorsing
> party "vouches" for both the content of the resource and its
> mediatype. This procedure also seems to make URNs harder to forge
> (since not all content bits are arbitrary).

This would break compatibility with my current software, at least, and 
our project would probably not adopt the URN namespace then (we had 
something more complicated before and decided that for simplicity we 
would put the content type in the URI rather than the hashed data, and I 
don't believe we'll switch back...).

Also, it wouldn't allow for something I see as very desirable: You 
discover that an audio recording of a politician's speech is already on 
Gnutella, so you create a URN of this form:

     urn:hash:audio/ogg;sha1,<hash>

and send it to a friend; your friend can download this through Gnutella 
from anybody who has a copy.

So, I would strongly suggest that you always simply use the hash of the 
content, not factoring in the content type.

Other than that, I'm fine with your design choices and would be fine 
with using your scheme, even though I think that there is a point in 
considering to standardize current practice-- which is 'urn:sha1:'.

All the best & thanks for your efforts,
- Benja





From exim@www1.ietf.org  Tue Jul 22 12:20:52 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA18740
	for <urn-nid-archive@odin.ietf.org>; Tue, 22 Jul 2003 12:20:52 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19ezsH-0005l2-1U
	for urn-nid-archive@odin.ietf.org; Tue, 22 Jul 2003 12:20:26 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6MGKP2W022130
	for urn-nid-archive@odin.ietf.org; Tue, 22 Jul 2003 12:20:25 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19ezsG-0005kr-Sw
	for urn-nid-web-archive@optimus.ietf.org; Tue, 22 Jul 2003 12:20:24 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA18724
	for <urn-nid-web-archive@ietf.org>; Tue, 22 Jul 2003 12:20:20 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19ezsF-0005oP-00
	for urn-nid-web-archive@ietf.org; Tue, 22 Jul 2003 12:20:23 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19ezs9-0005oC-00
	for urn-nid-web-archive@ietf.org; Tue, 22 Jul 2003 12:20:17 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19ezrv-0005iA-Gx; Tue, 22 Jul 2003 12:20:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19ezVf-0004JX-2h
	for urn-nid@optimus.ietf.org; Tue, 22 Jul 2003 11:57:08 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18042
	for <urn-nid@apps.ietf.org>; Tue, 22 Jul 2003 11:56:59 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19ezVd-0005e0-00
	for urn-nid@apps.ietf.org; Tue, 22 Jul 2003 11:57:01 -0400
Received: from avalon.informatik.uni-freiburg.de ([132.230.150.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19ezVN-0005dZ-00
	for urn-nid@apps.ietf.org; Tue, 22 Jul 2003 11:56:46 -0400
Received: from wailoa.informatik.uni-freiburg.de (wailoa.informatik.uni-freiburg.de [132.230.166.120])
	by avalon.informatik.uni-freiburg.de (8.9.3p2/8.9.0) with ESMTP id RAA14555;
	Tue, 22 Jul 2003 17:56:03 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by wailoa.informatik.uni-freiburg.de (8.11.6p2/8.11.6) id h6MFtwq25982;
	Tue, 22 Jul 2003 17:55:58 +0200
X-Authentication-Warning: wailoa.informatik.uni-freiburg.de: thiemann set sender to thiemann@informatik.uni-freiburg.de using -f
To: Benja Fallenstein <b.fallenstein@gmx.de>
Cc: Larry Masinter <LMM@acm.org>, urn-nid@apps.ietf.org
Subject: Re: name space application, copy of submitted internet draft
References: <006601c34d61$5d148c20$6bce8642@MasinterT40>
	<m3d6g53s11.fsf@kailua.informatik.uni-freiburg.de>
	<3F1BDAA2.4070504@gmx.de>
CC: thiemann@informatik.uni-freiburg.de
From: Peter Thiemann <thiemann@informatik.uni-freiburg.de>
Date: 22 Jul 2003 17:53:07 +0200
In-Reply-To: <3F1BDAA2.4070504@gmx.de>
Message-ID: <m3adb61rto.fsf@kailua.informatik.uni-freiburg.de>
Lines: 45
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>

>>>>> "bf" == Benja Fallenstein <b.fallenstein@gmx.de> writes:

    >> 3-action: if media-type is specified, then the hash is computed from
    >> the concatenation of the content-type/subtype and the actual
    >> resource. This way, an endorsement of a URN means that the endorsing
    >> party "vouches" for both the content of the resource and its
    >> mediatype. This procedure also seems to make URNs harder to forge
    >> (since not all content bits are arbitrary).

    bf> This would break compatibility with my current software, at least, and
    bf> our project would probably not adopt the URN namespace then (we had
    bf> something more complicated before and decided that for simplicity we
    bf> would put the content type in the URI rather than the hashed data, and
    bf> I don't believe we'll switch back...).

My feeling is that input is needed from a specialist in hash functions
if the proposed way of computing the hash really makes a difference. I
was hoping that this had been investigated before, but I seem to be
wrong. In that case, it seems premature to put it into a name space
definition. Hence

3-action-revised: just take the hash of the resource as in the
original proposal.

    bf> Other than that, I'm fine with your design choices and would be fine
    bf> with using your scheme,

There is still the syntactic difference of the separation of the
optional parts (";" and "," vs ":"):

    bf>     urn:hash:audio/ogg;sha1,<hash>

One option would be to allow both syntaxes and declare one of them
the normalized syntax. But this is probably not a good idea.

    bf> even though I think that there is a point in
    bf> considering to standardize current practice-- which is 'urn:sha1:'.

This is a political issue of the IANA and would probably require a separate
internet draft / namespace application. On the positive side, it would
sanction a lot of ad-hoc uses of this scheme. On the negative side, it
may lead to a proliferation of top-level URN namespaces (one for each
hash scheme).

-Peter




From exim@www1.ietf.org  Fri Jul 25 08:43:44 2003
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA03398
	for <urn-nid-archive@odin.ietf.org>; Fri, 25 Jul 2003 08:43:44 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19g1un-0001kW-HJ
	for urn-nid-archive@odin.ietf.org; Fri, 25 Jul 2003 08:43:18 -0400
Received: (from exim@localhost)
	by www1.ietf.org (8.12.8/8.12.8/Submit) id h6PChHan006723
	for urn-nid-archive@odin.ietf.org; Fri, 25 Jul 2003 08:43:17 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19g1un-0001kM-AB
	for urn-nid-web-archive@optimus.ietf.org; Fri, 25 Jul 2003 08:43:17 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA03392
	for <urn-nid-web-archive@ietf.org>; Fri, 25 Jul 2003 08:43:13 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19g1um-0007lh-00
	for urn-nid-web-archive@ietf.org; Fri, 25 Jul 2003 08:43:16 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19g1ug-0007la-00
	for urn-nid-web-archive@ietf.org; Fri, 25 Jul 2003 08:43:10 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19g1uW-0001jq-KO; Fri, 25 Jul 2003 08:43:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19fvU6-0000b4-Qq
	for urn-nid@optimus.ietf.org; Fri, 25 Jul 2003 01:51:18 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA12830
	for <urn-nid@apps.ietf.org>; Fri, 25 Jul 2003 01:51:14 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19fvU3-0005Nb-00
	for urn-nid@apps.ietf.org; Fri, 25 Jul 2003 01:51:15 -0400
Received: from km.giti.waseda.ac.jp
	([133.9.168.41] helo=dual.km.giti.waseda.ac.jp ident=mail)
	by ietf-mx with esmtp (Exim 4.12)
	id 19fvTn-0005NW-00
	for urn-nid@apps.ietf.org; Fri, 25 Jul 2003 01:50:59 -0400
Received: from dmark2.km.giti.waseda.ac.jp
	([133.9.109.2] helo=localhost ident=wak)
	by dual.km.giti.waseda.ac.jp with esmtp (Exim 3.35 #1 (Debian))
	id 19fvTC-0004Do-00; Fri, 25 Jul 2003 14:50:22 +0900
Date: Fri, 25 Jul 2003 14:50:22 +0900 (JST)
Message-Id: <20030725.145022.57446091.wak@mini.km.giti.waseda.ac.jp>
To: urn-nid@apps.ietf.org
Cc: wataru@waseda.jp, RegTF@km.giti.waseda.ac.jp, michael@neonym.net
Subject: URN Registration Request
From: Wataru KAMEYAMA <wataru@waseda.jp>
X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.1 (AOI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: urn-nid-admin@ietf.org
Errors-To: urn-nid-admin@ietf.org
X-BeenThere: urn-nid@apps.ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=unsubscribe>
List-Id: discussion of new namespace identifiers for URNs <urn-nid.apps.ietf.org>
List-Post: <mailto:urn-nid@apps.ietf.org>
List-Help: <mailto:urn-nid-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/urn-nid>,
	<mailto:urn-nid-request@apps.ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Dear URN-NID,

The Internet Draft requesting "tva" URN namepace is now available in
the Internet Draft repository as
"draft-kameyama-tv-anytime-urn-00.txt".

On behalf of the TV-Anytime Forum, I'd like to ask your kind
consideration on the request.

Thank you.

** Wataru KAMEYAMA
** Graduate School of Global Information and Telecommunication Studies
** Email: wataru@waseda.jp or wak@km.giti.waseda.ac.jp




