Re: [apps-discuss] Draft -07 mod proposal: Clean up "subject"

Joseph Anthony Pasquale Holsten <joseph@josephholsten.com> Mon, 03 December 2012 22:14 UTC

Return-Path: <joseph@josephholsten.com>
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 620B521F8929 for <apps-discuss@ietfa.amsl.com>; Mon, 3 Dec 2012 14:14:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 0lAYMn1FopNu for <apps-discuss@ietfa.amsl.com>; Mon, 3 Dec 2012 14:14:07 -0800 (PST)
Received: from smtp.pobox.com (b-pb-sasl-quonix.pobox.com [208.72.237.35]) by ietfa.amsl.com (Postfix) with ESMTP id 7BE2321F8908 for <apps-discuss@ietf.org>; Mon, 3 Dec 2012 14:14:06 -0800 (PST)
Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id B1A8D9090; Mon, 3 Dec 2012 17:14:04 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s=sasl; bh= E4cSCdKC8CM/kkeOgjFeoOOrVJc=; b=cZkSUkm1e1w8vHXv2BiAo8ZvH37MtvFA +4dNOOR/irJQsBAhXxhQ+xCisnOsRNiRWE3C2HPGdH53nHZwjbL+cbLlD/DJIdF5 3+H8QuTu6PXcSXNXT1wrnV2p3KdNDKoj1vkeKOcTk1Oz8+KExjIrFeh77ORK/1l2 GF9kP5CiXE0=
Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 9F77C908F; Mon, 3 Dec 2012 17:14:04 -0500 (EST)
Received: from [192.168.9.49] (unknown [75.147.189.33]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id E061A908E; Mon, 3 Dec 2012 17:14:03 -0500 (EST)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
In-Reply-To: <CABP7Rbf4Doe7TPogabCT2WTO2SSa68_Otwm=G8m5U9Z9aouPBw@mail.gmail.com>
Date: Mon, 03 Dec 2012 22:14:04 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <7B156D8E-78F4-481E-AA0F-8F726F433C97@josephholsten.com>
References: <CAHBU6iscy7Rzy8a_eOWCb9PO0ABO+=6Gy51oX=bH5=cGVp6WnQ@mail.gmail.com> <CABP7Rbf4Doe7TPogabCT2WTO2SSa68_Otwm=G8m5U9Z9aouPBw@mail.gmail.com>
To: webfinger@googlegroups.com, "apps-discuss@ietf.org" <apps-discuss@ietf.org>
X-Mailer: Apple Mail (2.1499)
X-Pobox-Relay-ID: BF74722E-3D96-11E2-B2EE-995F2E706CDE-15777318!b-pb-sasl-quonix.pobox.com
Subject: Re: [apps-discuss] Draft -07 mod proposal: Clean up "subject"
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: Mon, 03 Dec 2012 22:14:08 -0000

URI equivalence/normalization/canonicalization is a well defined rat hole. It's URI scheme specific, so we'll never be able to define all of these. If you think we need to explicitly say that "We defer the definition of URI equivalence to the mechanism defined by its schema," we can.

On 2012-12-03, at 05:42 , James M Snell <jasnell@gmail.com> wrote:

> -1 ... fixing this would be good but your proposed text isn't quite enough without either defining or specifically referencing what "equivalence" means. For example, as currently defined, the resource parameter can be a relative URI reference, while the subject could be an absolute URI reference. How does one determine equivalence exactly? 
> 
> - James
> 
> 
> On Sun, Dec 2, 2012 at 5:14 PM, Tim Bray <tbray@textuality.com> wrote:
> Right now, section 5.2.2 says "The value of the "subject" member is a string that MUST be set to the same value as the "resource" parameter in the client request. "
> 
> This is a recipe for trouble, for a couple of reasons. First of all, what does “the same value” mean?  Go visit RFC3986, section 6, and enjoy several hundred words walking through all the issues that arise in trying to figure out when two URIs are equivalent, ranging from exact character-by-character identity to all sorts of protocol-specific goo. You are just one level of case-sensitivity-in-%-escaping from a big hairy false negative.
> 
> I’m also worried about a lack of flexibility. I might have a single webfinger resource that declares a bunch of link relations for a bunch of different resources. This section, as written, wouldn’t let me do that.
> 
> Proposal: Re-write section 5.2.2 as follows:
> 
> <<<<<<<
> The value of the "subject" member is a string whose value is advisory, identifying the resource to which the properties given in the "links" member apply.  Normally this would be expected to be equivalent to the value of the "resource" parameter in the client request. 
> <<<<<<<
> 
> On Sun, Dec 2, 2012 at 12:21 AM, Paul E. Jones <paulej@packetizer.com> wrote:
> Folks,
> 
>  
> 
> I published another version of the WebFinger spec trying to bring closure to the two open issues I see (resource representation and transport).  The new version is here:
> 
> http://tools.ietf.org/html/draft-ietf-appsawg-webfinger-07
> 
>  
> 
> With respect to resource representation, I fully described the JSON Resource Descriptor within the document.  There are no external references to RFC 6415 now, no need to go read the XRD spec, etc.  It’s a fairly simple format and I believe this text documents it sufficiently.  Combined with the visual examples, I think this makes it pretty clear.  Have a look at the JRD documentation in section 5.2 and provide your comments.
> 
>  
> 
> With respect to HTTPS, it seems there is strong preference for “HTTPS only”, but some a fair bit of insistence for allowing HTTP.  I changed the wording in 5.2 to try to capture opinions.  Previously, the text led with a requirement to try HTTPS first.  That is still there.  I just added some extra conditions that make it clearer that there are some instances where a client must not utilize HTTP.  This might need further refinement, but I think there is a balance we can strike here between the two camps without introducing a lot of complex language.
> 
>  
> 
> I made some editorial changes through the document.
> 
>  
> 
> Comments are welcome, as always.  Seems I don’t need to say that to this group, though :-)
> 
>  
> 
> Paul
> 
>  
> 
> 
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
> 
> 
> 
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
> 
>