Re: URN namespaces for use in 'magnet' URIs

Mykyta Yevstifeyev <evnikita2@gmail.com> Mon, 25 July 2011 16:17 UTC

Return-Path: <evnikita2@gmail.com>
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 30CC021F8588 for <urn-nid@ietfa.amsl.com>; Mon, 25 Jul 2011 09:17:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.503
X-Spam-Level:
X-Spam-Status: No, score=-3.503 tagged_above=-999 required=5 tests=[AWL=0.096, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 GSEBG+62uqZS for <urn-nid@ietfa.amsl.com>; Mon, 25 Jul 2011 09:17:36 -0700 (PDT)
Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by ietfa.amsl.com (Postfix) with ESMTP id 52BDF21F8C35 for <urn-nid@ietf.org>; Mon, 25 Jul 2011 09:15:56 -0700 (PDT)
Received: by fxe4 with SMTP id 4so10487204fxe.27 for <urn-nid@ietf.org>; Mon, 25 Jul 2011 09:15:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+0xi87AWe2d3yVMa0P+TnyGwA4xAlmtUlqzQ1MGXAlM=; b=VMxzDTs0PL5bc/1buxorKVLGaJswIgSnlDIgVTqYbztWLYsm6XgkqcC24jBGhFzcdj CJPMZeuvozyc6W252Beb+UW4XIw29sM9TvEKbkH9SARDLLT4EnzggfF6cZP0/sA4cdem 5giPphfwwQmK3Mpzaq6VvPCuaAvJ6HkOIp040=
Received: by 10.223.47.9 with SMTP id l9mr3877836faf.55.1311610555338; Mon, 25 Jul 2011 09:15:55 -0700 (PDT)
Received: from [127.0.0.1] ([195.191.104.224]) by mx.google.com with ESMTPS id a18sm3872158faa.6.2011.07.25.09.15.53 (version=SSLv3 cipher=OTHER); Mon, 25 Jul 2011 09:15:53 -0700 (PDT)
Message-ID: <4E2D96E2.9080908@gmail.com>
Date: Mon, 25 Jul 2011 19:16:34 +0300
From: Mykyta Yevstifeyev <evnikita2@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
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>
In-Reply-To: <4E2D66E0.5050502@stpeter.im>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Mon, 25 Jul 2011 12:29:12 -0700
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 16:17:37 -0000

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.

Mykyta
>
> Peter
>