Re: [apps-discuss] draft-farrell-decade-ni-02 - we think this is done...

Stephen Farrell <stephen.farrell@cs.tcd.ie> Fri, 06 April 2012 10:21 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1DCA21F849C for <apps-discuss@ietfa.amsl.com>; Fri, 6 Apr 2012 03:21:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[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 ahp275vP6zr0 for <apps-discuss@ietfa.amsl.com>; Fri, 6 Apr 2012 03:21:21 -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 9B29F21F844F for <apps-discuss@ietf.org>; Fri, 6 Apr 2012 03:21:20 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id A93C3171472; Fri, 6 Apr 2012 11:21:18 +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=1333707678; bh=/OM7NBqrceMTEF vgaZXFMXrdlwZhhwiwwO1yur4w1z4=; b=e3AFL8ejmVxAdUVW8sFWomxLqEYIwb a8Fp9bqcV7QvIR1yDjVN5md4KTISjdIO+qKjf0XN+Wb4RrXCrYdW/NYw8iFifV/C 04567xrPYdK7S9+2rwotWCaCYE07wXODBeSyY/2x2QKIHK4u/nlu5SvVwynqoAlV SqlsIlLAkLBNwTQ517zOIc3jst+j5fanZrE+sEouH4WoDZOuAS2/TyGGjzs1Sehv mwgpR2NMJi+uLWbO+w0x6BmQM/zcWsZxNPz50usoiACSeJ2brQtTN4dO9r/PqPRF dPH3VFqCxFabRYbOrUyJfJd0BIW/vuooYWYxWIaiue4wu3Ss/HcYNBMA==
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 CXVi8lg9xc4m; Fri, 6 Apr 2012 11:21:18 +0100 (IST)
Received: from [10.87.48.4] (unknown [86.46.29.158]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id BB071171471; Fri, 6 Apr 2012 11:21:17 +0100 (IST)
Message-ID: <4F7EC39D.1090209@cs.tcd.ie>
Date: Fri, 06 Apr 2012 11:21:17 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
References: <4F7DFC47.2020604@cs.tcd.ie> <CABkgnnVECurSCCsVC6aCqEvdsY_dvKogSNLLM9dvTMoSx6Py2Q@mail.gmail.com> <4F7E0DC8.8030707@cs.tcd.ie> <CABkgnnWfTEk05Z9QSswF-gZMgYvQvt=nfogRRZ7r8AuPq=be5w@mail.gmail.com>
In-Reply-To: <CABkgnnWfTEk05Z9QSswF-gZMgYvQvt=nfogRRZ7r8AuPq=be5w@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] draft-farrell-decade-ni-02 - we think this is done...
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Apr 2012 10:21:22 -0000

On 04/05/2012 10:30 PM, Martin Thomson wrote:
> On 5 April 2012 14:25, Stephen Farrell<stephen.farrell@cs.tcd.ie>  wrote:
>>> I might want to identify a resource outside of /.well-known/.  I might
>>> also want to identify a resource that is served elsewhere.  I can't do
>>> either with this scheme.
>>
>> Sure. We added that though in section 5. (For URLs anyway.)
>> Be glad to add more text that makes that clear, and happy
>> to say its usable with other schemes if you can offer good
>> words for that.
>
> That doesn't quite do it.  If I understand correctly, you want someone
> to look at a URI and "know" that this particular path component is
> actually a hash.
>
> What I want to do is provide an ni: URI that wraps:
>
> http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js
>
> And have clients (say my browser) load that URI and be able to check
> that the content is the right content.  Without knowledge of URI
> components that should be opaque.  That is, I want a mechanism for
> dealing with mixed content (see plenary) that doesn't require TLS.
>
> This might be done by something like:
>
> ni:sha256:blah:http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.jse
>
> Though that completely ruins your nice URI form.

Well, it is less nice but following draft-hallambaker-decade-ni-params
we could add support for:

ni:///sha256;abc...?url=http://ajax...

I've probably got the encoding there wrong but would that meet the
need if properly done?

S.