Re: URN namespaces for use in 'magnet' URIs
Peter Saint-Andre <stpeter@stpeter.im> Mon, 25 July 2011 19:56 UTC
Return-Path: <stpeter@stpeter.im>
X-Original-To: urn-nid@ietfa.amsl.com
Delivered-To: urn-nid@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7545F21F8B8F for <urn-nid@ietfa.amsl.com>; Mon, 25 Jul 2011 12:56:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.492
X-Spam-Level:
X-Spam-Status: No, score=-102.492 tagged_above=-999 required=5 tests=[AWL=0.107, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DYkPGzrw6XcA for <urn-nid@ietfa.amsl.com>; Mon, 25 Jul 2011 12:56:29 -0700 (PDT)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id A6BFA21F8B89 for <urn-nid@ietf.org>; Mon, 25 Jul 2011 12:56:29 -0700 (PDT)
Received: from squire.local (unknown [198.135.0.233]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D9F9341229; Mon, 25 Jul 2011 13:57:25 -0600 (MDT)
Message-ID: <4E2DCA6C.8020300@stpeter.im>
Date: Mon, 25 Jul 2011 15:56:28 -0400
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Mykyta Yevstifeyev <evnikita2@gmail.com>
Subject: Re: URN namespaces for use in 'magnet' URIs
References: <4E294706.40602@gmail.com> <4E2C3D96.4070302@stpeter.im> <4E2CDD73.3050406@gmail.com> <4E2D66E0.5050502@stpeter.im> <4E2D96E2.9080908@gmail.com>
In-Reply-To: <4E2D96E2.9080908@gmail.com>
X-Enigmail-Version: 1.2
OpenPGP: url=https://stpeter.im/stpeter.asc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Cc: urn-nid@ietf.org
X-BeenThere: urn-nid@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: discussion of new namespace identifiers for URNs <urn-nid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/urn-nid>, <mailto:urn-nid-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/urn-nid>
List-Post: <mailto:urn-nid@ietf.org>
List-Help: <mailto:urn-nid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/urn-nid>, <mailto:urn-nid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2011 19:56:30 -0000
On 7/25/11 12:16 PM, Mykyta Yevstifeyev wrote: > 25.07.2011 15:51, Peter Saint-Andre wrote: >> On 7/24/11 11:05 PM, Mykyta Yevstifeyev wrote: >>> 24.07.2011 18:43, Peter Saint-Andre wrote: >>>> On 7/22/11 5:46 AM, Mykyta Yevstifeyev wrote: >>>>> Hello all, >>>>> >>>>> The 'magnet' URIs, which are quite popular with P2P networks, have an >>>>> element named "exact topic" which contains the URN, forming an URI >>>>> like: >>>>> >>>>>> magnet:?xt=<URN>&<other parameters> >>>>> The URNs used in 'magnet' URIs must be a "hash URN", none of which are >>>>> currently officially registered. The hash URN is smth. like >>>>> <urn:sha1:c3499c2729730a7f807efb8676a92dcb6f8a3f8f> using SHA-1; see >>>>> Wikipedia page on 'magnet' URIs - >>>>> http://en.wikipedia.org/wiki/Magnet_URI_scheme#URN.2C_containing_hash_.28xt.29 >>>>> >>>>> >>>>> - for more examples of hash URNs. >>>>> >>>>> As I've mentioned, none of used hash URNs use the registered >>>>> namespaces. Correspondingly, my question - is there a sense in >>>>> documenting such ones? >>>> Why not use UUIDs? >>>> >>>> http://tools.ietf.org/html/rfc4122 >>> P2P networks use DHT, Distributed Hash Table, which identifies the file >>> using hashes. See http://en.wikipedia.org/wiki/Distributed_hash_table >> I've heard of several people who are interested in defining a URN >> namespace for hashes. Such a namespace would be similar to the UUID >> namespace. However, RFC 4122 is not really a formal namespace in the >> sense of all other URN namespaces. URNs are supposed to be formally >> issued or generated by an authoritative entity that has responsibility >> over the namespace. >> >> RFC 3406 says: >> >> Assumption #2: >> >> The space of URN namespaces is managed. >> >> The UUID namespace is not managed. A hash namespace would not be >> managed. Although there is value in having a URI that enables people to >> use UUIDs or hashes, I don't think they should be URNs. (Yes, the UUID >> namespace already exists, but I don't think RFC 4122 would be published >> now if we were considering it again.) > Yes, as UUIDs, as hash URIs may not be managed; however, my point is > that the latter are currently widely used. I was asking whether they > are OK to be documented; considering they may not suit the requirements > for URNs documenting them won't be fine as well. So the optimal > approach is to let hash URNs be used further but retain them undocumented. What I'm saying is that a URI would be fine, but that URNs would be wrong, because the hash URI "space" would be unmanaged. If folks want to continue this discussion, I think it might belong on a different list. Peter -- Peter Saint-Andre https://stpeter.im/
- URN namespaces for use in 'magnet' URIs Mykyta Yevstifeyev
- Re: URN namespaces for use in 'magnet' URIs Peter Saint-Andre
- Re: URN namespaces for use in 'magnet' URIs Peter Saint-Andre
- Re: URN namespaces for use in 'magnet' URIs Mykyta Yevstifeyev
- Re: URN namespaces for use in 'magnet' URIs Mykyta Yevstifeyev
- Re: URN namespaces for use in 'magnet' URIs Peter Saint-Andre