Re: [xmpp] [precis] WGLC Comments on 6122bis

Peter Saint-Andre - &yet <peter@andyet.net> Tue, 10 March 2015 23:13 UTC

Return-Path: <peter@andyet.net>
X-Original-To: xmpp@ietfa.amsl.com
Delivered-To: xmpp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C05271A8880 for <xmpp@ietfa.amsl.com>; Tue, 10 Mar 2015 16:13:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AlMdOVoOpj3g for <xmpp@ietfa.amsl.com>; Tue, 10 Mar 2015 16:13:30 -0700 (PDT)
Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0EF301A8AC9 for <xmpp@ietf.org>; Tue, 10 Mar 2015 16:13:29 -0700 (PDT)
Received: by iecsf10 with SMTP id sf10so35284390iec.2 for <xmpp@ietf.org>; Tue, 10 Mar 2015 16:13:28 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=sfvjYngnKDyb/8QpapUzaxXoNM/gOjY9G369EYQA/lY=; b=FhRsu8m+hK3LVDq3kiGpyXvSne8NMPU5/WGsnbfYSJucfpGUqoLf2cdEML5h8H6EB7 dS8QFE3XWGgL8bII54U4QsSysCn14VCDnWP51yUf/HBNCgIPqfQU2ladGOGab7JZySoO KUGta8S243xEOc/QAiRs/bes7GDOnB8SNzztnwXmO7krQK1pSPDfqlOx2SNRbXPNjnN5 SdJaOLXGOsY7JUsHsyAaMgup4SFRkP3bvsMdT5b8DsrMKsSTc7m2UjPRnRDWA6mgJ9BO u4nRjLCuInA/rhPN6WCky/nZvJy0nMg+uqf9h8V2fI1mUt4eVyBs1PEWmpZGFlI8Ke3W HIXQ==
X-Gm-Message-State: ALoCoQk+DvG2sZJu8cnUoQuw7lVG5JQ0TDPZQud9q8hveSkrXr6DaUD7OjJ9/y5cpdfV/elCHuDX
X-Received: by 10.50.39.65 with SMTP id n1mr87048186igk.37.1426029208360; Tue, 10 Mar 2015 16:13:28 -0700 (PDT)
Received: from aither.local (c-73-34-202-214.hsd1.co.comcast.net. [73.34.202.214]) by mx.google.com with ESMTPSA id d6sm1350862ioe.44.2015.03.10.16.13.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2015 16:13:27 -0700 (PDT)
Message-ID: <54FF7A98.4090600@andyet.net>
Date: Tue, 10 Mar 2015 17:13:28 -0600
From: Peter Saint-Andre - &yet <peter@andyet.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: Ben Campbell <ben@nostrum.com>, XMPP Working Group <xmpp@ietf.org>, precis@ietf.org, draft-ietf-xmpp-6122bis.all@ietf.org
References: <30D40A1D-09C3-4257-8DC1-A90AFE561571@nostrum.com> <F295A7BF-A037-4083-A8D2-FC0C55A03AE1@nostrum.com>
In-Reply-To: <F295A7BF-A037-4083-A8D2-FC0C55A03AE1@nostrum.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/xmpp/cRLn8RtpZaduFGCEk0jhGKin4Ww>
Subject: Re: [xmpp] [precis] WGLC Comments on 6122bis
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: XMPP Working Group <xmpp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xmpp>, <mailto:xmpp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xmpp/>
List-Post: <mailto:xmpp@ietf.org>
List-Help: <mailto:xmpp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Mar 2015 23:13:31 -0000

On 3/10/15 4:38 PM, Ben Campbell wrote:
> BTW, I reviewed version 19, quite by accident :-)
>
> On 10 Mar 2015, at 17:30, Ben Campbell wrote:
>
>> (as individual)
>>
>> Hi,
>>
>> This is a very well written draft. It's easy to understand given the
>> complexity of the material. I support it's publication.
>>
>> I have a few minor comments:
>>
>> -- section 3.2, paragraph 6:
>>
>> Is there a reason to avoid a reference for IDNA2008?

Well, IDNA2008 is collectively RFCs 5890-5894 and we do point to several 
of those specs in ยง3.2. :-)

>> -- 3.3, implementation note:
>>
>> Are there any practical consequences for the implementor? Are there
>> potential conflicts where the XMPP implementation correctly forms a
>> Localpart, but it contains an identifier that is interpreted
>> incorrectly by some SASL mechanism?

Re-using the UsernameCaseMapped profile from 
draft-ietf-precis-saslprepbis should help in this regard. However, as 
noted, some SASL mechanisms might not be upgraded quickly and thus would 
still use SASLprep (RFC 4013). The differences are explained a bit more 
in Appendix A of draft-ietf-precis-saslprepbis - as I see it, the only 
semi-major issue is that certain characters that were "mapped to 
nothing" in RFC 4013 are simply disallowed by the UsernameCaseMapped 
profile that we re-use in 6122bis.

>> -- 3.3.1, implementation note:
>>
>> I have mixed feelings about XEP-0106 being an informational reference
>> (using the standard of "need to read to understand/implement this
>> document"). Even if an implementation chooses not to create JIDs with
>> escaped characters, it had to be prepared to receive them from
>> somewhere else, doesn't it?

Well, the alternative is to reject the JID - but since the escaping 
mechanism in XEP-0106 is really a matter of presentation, it's something 
that affects clients more than servers anyway (and the JID escaping 
would be applied before PRECIS-related processing happens anyway).

>> -- 4, para 10 (I think): "In such cases, clients SHOULD enforce..."
>>
>> The sending client, receiving client, or both?  Assuming the former,
>> it might be worth adding some words to the effect of "before
>> transmitting..."

Good catch. We might want to say "the entities involved SHOULD enforce", 
because in the second example there the chatroom might enforce the rules 
(so it's not just about clients) and more importantly it's not always a 
good idea to trust the sender.

>> -- 8:
>>
>> While I don't object to the approach of the section, I think there's
>> some risk of confusion about which text is authoritative from a 2119
>> perspective. I think it might be worth noting that the authoritative
>> text is in the referenced sections, and only summarized here for
>> convenience.  (It only really matters if they conflict, but redundant
>> normative text makes life harder for future updates.)

I see your point: it's never a great idea to say the same thing in two 
places.

We do say:

    This section describes a protocol feature set that summarizes the
    conformance requirements of this specification....

We could add a sentence like:

    The summary is purely informational and does not override any of the
    more detailed descriptions in the body of this specification.

Peter