Re: [apps-discuss] draft-farrell-decade-ni-02 - we think this is done...
Stephen Farrell <stephen.farrell@cs.tcd.ie> Fri, 06 April 2012 22:03 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 E248521F8507 for <apps-discuss@ietfa.amsl.com>; Fri, 6 Apr 2012 15:03:38 -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 m2jljhQNvMES for <apps-discuss@ietfa.amsl.com>; Fri, 6 Apr 2012 15:03:38 -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 1EB4D21F8504 for <apps-discuss@ietf.org>; Fri, 6 Apr 2012 15:03:37 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id E5772171479; Fri, 6 Apr 2012 23:03:36 +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=1333749816; bh=bmyQmfXli/wTh9 MaMkUhuIIlQ/5W6kl4sler9fh1HIc=; b=6OxCCHTcukAfHfgFYtEuWE3ZgY0iZR b/PsowbWjg/mcoyVVyu/+KDtzoW69Wn/TqzKSFNCrbCdNCVB4t+3Fc9XpMx0/JJb wieZtY7vlulCIJV+Pa9LQ+USnuNK1QhpjybUAmXz0DxwD7MxI3T9BflXc5veJoIC VgObV1TxZQQB5+cTu8cpu0UScltHco4ukVPwKUtMqgwFJc5MjQwFmXY2WCaFaSOh 8oouV4vKzVylmy6t48HrqQuGG+NN2i/kH204Z5CHXlA7PvhCkiIDvXbnS04OPQ+G 7jHTCsMnybn5dDs8ESyNJNEsGPYsTumaKkmdKEEcYBzA+5JI2cUe++ZA==
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 0JSdhryHX6S4; Fri, 6 Apr 2012 23:03:36 +0100 (IST)
Received: from [10.87.48.4] (unknown [86.42.31.105]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 48F8F171478; Fri, 6 Apr 2012 23:03:36 +0100 (IST)
Message-ID: <4F7F6837.8030900@cs.tcd.ie>
Date: Fri, 06 Apr 2012 23:03:35 +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: Carsten Bormann <cabo@tzi.org>, Martin Thomson <martin.thomson@gmail.com>
References: <4F7DFC47.2020604@cs.tcd.ie> <DDCD3226-782B-46E5-9CEB-61E4773CE0B2@tzi.org> <4F7EC545.7090702@cs.tcd.ie> <93FE0923-1A47-4E97-94E9-559B3E217F01@tzi.org> <4F7F0FA8.4030704@cs.tcd.ie>
In-Reply-To: <4F7F0FA8.4030704@cs.tcd.ie>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: 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 22:03:39 -0000
So I took a stab at addressing Carsten's and Martin's good comments. Bit more to do but the significant changes so far are: - added a "url=" query string parameter to draft-hallambaker-decade-ni-params for Martin's use-case - added an "nih" scheme to draft-farrell-decade-ni for the "human" scheme (nice acronym:-); that seems better than using the "ni" scheme with two different but sorta similar encodings (base32 and base64Url) Previews at [1,2] (but might change when co-authors get a chance to think about those changes). More comments welcome, TIA, S. [1] http://down.dsg.cs.tcd.ie/misc/draft-farrell-decade-ni.txt [2] http://down.dsg.cs.tcd.ie/misc/draft-hallambaker-decade-ni-params.txt On 04/06/2012 04:45 PM, Stephen Farrell wrote: > > Hiya, > > On 04/06/2012 01:08 PM, Carsten Bormann wrote: >> On Apr 6, 2012, at 12:28, Stephen Farrell wrote: >> >>>> I believe for this to be the replacement of "unsecure links out of >>>> HTTPS", the secure media type issue must be solved in the base spec. >>>> (Oh, and is there ever a need to discuss content-coding in this >>>> context???) >>> >>> Not sure what you mean by "solved" can you elaborate? >> >> The problem is that the ni: hash only secures the bytes of the payload. >> (At least that's my assumption -- it might be worth saying explicitly >> what is hashed here, BTW.) >> >> The entity I would have been retrieving over a secure HTTPS channel >> also has metadata. >> Many of these are not critical, as they only pertain to the retrieval >> process (say, the Etag). >> However, the media type is critical for correctly interpreting the >> returned result. >> While I'm not aware of the proverbial contract text that means >> something different when interpreted as SJIS instead of UTF-8, attacks >> on the basis of swapping the media type are conceivable. (Also, there >> is lots of potential for misconfiguration, damaging the reliability.) >> >> I'm naming content-coding as another example that it is not quite >> clear what is the input to the hash function. >> So maybe it is worth having another (normative) document that spells >> out how exactly ni:// is used in the Browser Web (among others, to >> solve the "unsecure links" problem)? > > Ah now I see. Yes, I think other documents should define the > hash input bytes, each in their own contexts. > > I'd be happy to help out with making a start on the web/ajax > thing, but would need help from someone who knows more about > the input bytes. > > Cheers, > S. > >> Grüße, Carsten >> >> > _______________________________________________ > apps-discuss mailing list > apps-discuss@ietf.org > https://www.ietf.org/mailman/listinfo/apps-discuss >
- [apps-discuss] draft-farrell-decade-ni-02 - we th… Stephen Farrell
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Peter Saint-Andre
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Martin Thomson
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Stephen Farrell
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Martin Thomson
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Carsten Bormann
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Stephen Farrell
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Stephen Farrell
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Carsten Bormann
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Stephen Farrell
- Re: [apps-discuss] draft-farrell-decade-ni-02 - w… Stephen Farrell
- [apps-discuss] draft-farrell-decade-ni-02: glitch… Manger, James H
- Re: [apps-discuss] draft-farrell-decade-ni-02: gl… Stephen Farrell
- Re: [apps-discuss] draft-farrell-decade-ni-02: gl… Stephen Farrell
- Re: [apps-discuss] draft-farrell-decade-ni-02: gl… Ari Keranen