Re: [decade] FW: Last Call: <draft-farrell-decade-ni-07.txt> (Naming Things with Hashes) to Proposed Standard

Stephen Farrell <stephen.farrell@cs.tcd.ie> Sat, 09 June 2012 01:45 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD08211E809C for <ietf@ietfa.amsl.com>; Fri, 8 Jun 2012 18:45:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.545
X-Spam-Level:
X-Spam-Status: No, score=-102.545 tagged_above=-999 required=5 tests=[AWL=0.054, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 VeW8b6CgT70C for <ietf@ietfa.amsl.com>; Fri, 8 Jun 2012 18:45:29 -0700 (PDT)
Received: from scss.tcd.ie (hermes.scss.tcd.ie [IPv6:2001:770:10:200:889f:cdff:fe8d:ccd2]) by ietfa.amsl.com (Postfix) with ESMTP id DE6CF11E8079 for <ietf@ietf.org>; Fri, 8 Jun 2012 18:45:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 2B0AB154252; Sat, 9 Jun 2012 02:45:28 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1339206327; bh=IR2XYEwxzS7qVo Scn1kyqc7/Icn8OJqjtJaUzHdK2j8=; b=o+W5eMki1AKOwHbQdxbIHHa1r766EA Hfue6ytm8vUxL9PfydTi6uAHZWezKWsoEL0I5NQ8xOdyLwrmkKkkFZUPpfYyPkaE 4JPhl462zXLdokH6lCHX9R8Z8SHY+u8SDZg15NgL4xPLW0quo0kZCCROL45N6Vy8 zOKWgwkVZLC1TtB1agHDEGgUJcH0+9VXc1Qp81d0NG2qBdygABwQNwyGtsHQqBiw llolsgqbV/EwL+enImC4sShe3JHE6As6aHqFTySwwE9vvq7kpcGD+KELojypMrXm PqXZW0WCfHR1zLalEtajtPxJ7NS8fU/5mDa6zCzC7E88H7KL7Pl5XjbA==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id XMYz8auwxIaE; Sat, 9 Jun 2012 02:45:27 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.46.22.45]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id A8E4B154251; Sat, 9 Jun 2012 02:45:23 +0100 (IST)
Message-ID: <4FD2AAB3.4010305@cs.tcd.ie>
Date: Sat, 09 Jun 2012 02:45:23 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [decade] FW: Last Call: <draft-farrell-decade-ni-07.txt> (Naming Things with Hashes) to Proposed Standard
References: <E33E01DFD5BEA24B9F3F18671078951F23A88B0C@szxeml534-mbx.china.huawei.com> <CAGnGFMKjv2QR+ebynnC2GktpYf2QEx73n+0_ZZeyJrAmTYDnjg@mail.gmail.com> <CABkgnnVga6Dn5cVQA+AFzd=4LN9Y65YcJEwUiiwVJeSqg=mS0Q@mail.gmail.com> <4FD29389.5060900@cs.tcd.ie> <tslboktwbzv.fsf@mit.edu>
In-Reply-To: <tslboktwbzv.fsf@mit.edu>
X-Enigmail-Version: 1.4.2
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: Jonathan A Rees <rees@mumble.net>, ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Jun 2012 01:45:30 -0000

Hi Sam,

On 06/09/2012 01:43 AM, Sam Hartman wrote:
> Add me as a +1 for the idea that content-type is important for this.
> I tend to agree with the arguments given so far. Namely, for some
> important use cases you're going to want to know the content type and
> guessing is  really a bad idea.

Thusly counted:-)

> 
> That said, there are security considerations associated with specifying
> a content type too.  I'm particularly imagining a situation where some
> sort of deep inspection security appliance uses a different procedure
> for deciding what kind of foo it is than the ultimate application. One
> guesses based on byte stream another looks at a content type.  This is
> well known; it's not new; it's probably even so documented that any
> reasonably current set of MIME security considerations already includes
> a reference.

My only real concern with adding this is the issue of complexity
related to c14n of input to the hash function. While CMS does (I
think) define that well, imposing that burden on anyone that might
want to write code that validates name-data integrity is an issue.
Anyway, if we want to add it we'll look that over and figure how
it might best be done.

> I agree that your draft does not use the authority portion of a URI
> consistent with section 3.2 of RFC 3986. 

I honestly don't get that. I think we are "consistent" with 3986
(there being no MUST/SHOULD with which we're in conflict afaik)
but the authority field here is not identical to that for HTTP
URLs. And that's ok.

> The authority separates the
> namespace exactly the way it doesn't in your scheme. 

Yes there are differences and maybe we ought try describe that
somehow.

> It's a naming
> hierarchy.  My main concern is whether the relative reference algorithm
> described in section 5/4.2 of RFC 3986. In particular take a look at the
> last part of section 1.2 of RFC 3986 regarding the disallowing of
> /. Consider how you want relative references in an HTML document
> resolved through a ni: URI to work.  I don't think your use of authority
> provides good results. However I'm not sure that better results would be
> achieved without hierarchy.  I hope though that these comments will help
> inject some ways of reasoning about authority that are less mystical and
> that lead to more practical discussion.

Thanks.

I think your comment about relative URIs is fair and we maybe ought
say there are no such things for ni URIs. (Or however that kind of
thing is stated best).

I guess a sentence or two about relative URIs would be worthwhile
and I'll ponder that.

S.


> 
>