Re: [Uri-review] Two new URI schemes for review

Eric Johnson <eric@tibco.com> Fri, 04 May 2012 09:23 UTC

Return-Path: <eric@tibco.com>
X-Original-To: uri-review@ietfa.amsl.com
Delivered-To: uri-review@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8618221F8634 for <uri-review@ietfa.amsl.com>; Fri, 4 May 2012 02:23:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.099
X-Spam-Level:
X-Spam-Status: No, score=-4.099 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, GB_I_LETTER=-2, URI_NOVOWEL=0.5]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DBZvdUCWf9KR for <uri-review@ietfa.amsl.com>; Fri, 4 May 2012 02:22:59 -0700 (PDT)
Received: from mx2-app.tibco.com (mx2-app.tibco.com [63.100.100.143]) by ietfa.amsl.com (Postfix) with ESMTP id A4EDF21F862F for <uri-review@ietf.org>; Fri, 4 May 2012 02:22:59 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.75,530,1330934400"; d="scan'208";a="39957819"
Received: from tibco-5.tibco.com (HELO PA-CASHUB01.na.tibco.com) ([63.100.100.5]) by mx2-app.tibco.com with ESMTP; 04 May 2012 02:22:59 -0700
Received: from Eric-Johnsons-MacBook-Pro.local (10.98.32.14) by PA-CASHUB01.na.tibco.com (10.106.137.46) with Microsoft SMTP Server (TLS) id 14.1.339.1; Fri, 4 May 2012 02:22:54 -0700
Message-ID: <4FA39FE9.5010306@tibco.com>
Date: Fri, 04 May 2012 11:22:49 +0200
From: Eric Johnson <eric@tibco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
References: <4F9EB644.60309@cs.tcd.ie>
In-Reply-To: <4F9EB644.60309@cs.tcd.ie>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.98.32.14]
Cc: uri-review@ietf.org, Barry Leiba <barryleiba@computer.org>, "draft-farrell-decade-ni@tools.ietf.org" <draft-farrell-decade-ni@tools.ietf.org>
Subject: Re: [Uri-review] Two new URI schemes for review
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/uri-review>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 May 2012 09:23:00 -0000

I looked at this proposal, and had three points of confusion.

a) Why is this being done as a "hierarchical" URI scheme, when the URI 
is not, in fact, hierarchical?

That is, why ni://example.com/....?

When implementations that manipulate URIs encounter the :// after the 
scheme, that should be a signal for them to associate meaning to 
"relative" URIs, as in:

base URI: 
ni://example.com/sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk

... what does it mean to do "index.html" relative to said URI?

Can I compute a "sha-512" relative to the given URI? (Answer: no)

I conclude that this should not be a hierarchical scheme.

b) Why isn't this just a URN with a particular namespace identifier?

As in:

urn:nhi:example.com:sha-256:f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk

(where nhi I just made up, but stands for "named hashed id", because 
URNs require at least three letters for namespace ids)

That seems like a better fit.

c) Since there are more known SHA standards, why not declare them all in 
this initial proposal, so that sha-384, and sha-512 are already defined?

-Eric.

On 4/30/12 5:56 PM, Stephen Farrell wrote:
> Hi,
>
> We have a draft [1] that requests two new URI schemes.
>
> The core WG are likely to want to use these we think
> and possibly decade, but they're intended to be generally
> useful as well.
>
> Barry Leiba is planning to AD sponsor this and Alexey
> Melnikov will be shepherding so if you can cc them ase
> well as the authors on any questions or comments that'd
> be good.
>
> I hope the plan is to IETF LC this soon, once this
> review and the .well-known registration review are
> done.
>
> Thanks,
> Stephen.
>
> [1] http://tools.ietf.org/html/draft-farrell-decade-ni-05
> _______________________________________________
> Uri-review mailing list
> Uri-review@ietf.org
> https://www.ietf.org/mailman/listinfo/uri-review