Re: [precis] Ambiguity in specification of case mapping in RFC 7613 and draft-ietf-precis-nickname

Peter Saint-Andre <peter@andyet.net> Tue, 27 October 2015 13:52 UTC

Return-Path: <peter@andyet.net>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B126A1A89A7 for <precis@ietfa.amsl.com>; Tue, 27 Oct 2015 06:52:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] autolearn=ham
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 EFU2wXWT8N1P for <precis@ietfa.amsl.com>; Tue, 27 Oct 2015 06:52:38 -0700 (PDT)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 1BAC91A89A8 for <precis@ietf.org>; Tue, 27 Oct 2015 06:52:25 -0700 (PDT)
Received: by oifu63 with SMTP id u63so77680570oif.2 for <precis@ietf.org>; Tue, 27 Oct 2015 06:52:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andyet_net.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=ikreFNwCqN8BBI6fyNXjtodTVHWldRXsdudZd7sUlpY=; b=DT3tkoSc/5nT7R2GzY3tqEUf5/Fuud3ieBvDDu8oSsoGCJVx2R8cHPlGwddtS2Jp7n J/djLmHw54Q/tn9mdlGx8T0ymQ6EkQe/7svRvxK36emI7Pyjp+UZXbmtHbAUMJb4PtB8 aP241O8M4tFMyeZiKg+cUyAJfuPNuwuNRlQuhuXFOPVOOTs2N6bk5M0Bjcp2TOuDVcGr Lv50MCL9LGqVSaJ30rTqMSTTPxViTIbrmqfHpDQXpokSB1pBRCnzUuK+g5qdUWUvTjEU cdDOoJzidG6CP2Soif8ehL7bp97QijGrd4eTUuAsS/bnBaEjXTb+AJozAAUHYhogkSo9 8U2g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=ikreFNwCqN8BBI6fyNXjtodTVHWldRXsdudZd7sUlpY=; b=IwAbGxd75mU40YubPwOXpinw2FOPj7McjrErXoPn6x0wIR3mIENUSvlD8U21pPSG3M K2CCmFTVYgdyml6htqqJUzQAY/OoLON1hHxRGQYj9JK2S1p4ft1DrOFVxCHM00pW6yyS jSicw4tDpA10dfyaOpP5I+FKLTFYvq9ftGsEdPn9ZQf+Ty5MGmYLEqbSpV86KR8ra3a5 +p6NIYYUuakZb9nNwLJfOQltqpyJ2xQvR0+/9h4BEcEUUDokJeittnWPlLc6qvsUUjTP 3cw58S68P06Ft8YxcnF+0ZedPz/BL669WqnBP9vhwVFzpqFT7Z080bI4VTCYOmckSUll XB8w==
X-Gm-Message-State: ALoCoQm0bVm5PPcSrbXgeFyCdhugNdbX9ZFs+J2lWgTQJYErY2ebTP7TXGoTns6Y9TYQ4FL1oI0b
X-Received: by 10.202.80.67 with SMTP id e64mr27274678oib.125.1445953944183; Tue, 27 Oct 2015 06:52:24 -0700 (PDT)
Received: from aither.local (c-73-34-202-214.hsd1.co.comcast.net. [73.34.202.214]) by smtp.googlemail.com with ESMTPSA id tb8sm17438398obc.4.2015.10.27.06.52.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Oct 2015 06:52:22 -0700 (PDT)
To: Peter Saint-Andre - &yet <peter@andyet.net>, John C Klensin <john-ietf@jck.com>, Tom Worster <fsb@thefsb.org>, Alexey Melnikov <Alexey.Melnikov@isode.com>
References: <D230767C.6587A%fsb@thefsb.org> <560C5149.5090607@andyet.net> <588752141F4228C805E674FC@JcK-HP8200.jck.com> <562EA055.3030404@andyet.net>
From: Peter Saint-Andre <peter@andyet.net>
Message-ID: <562F8194.2020108@andyet.net>
Date: Tue, 27 Oct 2015 07:52:20 -0600
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <562EA055.3030404@andyet.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/precis/4bJjn603b9gD2kr0wPylvBUy9wM>
Cc: precis@ietf.org
Subject: Re: [precis] Ambiguity in specification of case mapping in RFC 7613 and draft-ietf-precis-nickname
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Preparation and Comparison of Internationalized Strings <precis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/precis>, <mailto:precis-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/precis/>
List-Post: <mailto:precis@ietf.org>
List-Help: <mailto:precis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/precis>, <mailto:precis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Oct 2015 13:52:39 -0000

This issue has greater urgency now because draft-ietf-precis-nickname is 
now in AUTH48...

On 10/26/15 3:51 PM, Peter Saint-Andre - &yet wrote:

> After all that, I have 3 questions:
>
> (1) Is my proposed text enough of a clarification that we should make
> that change before the nickname I-D is published as an RFC?

I think so.

> (2) Should we modify draft-ietf-precis-nickname so that case folding is
> applied only as part of comparison and not as part of enforcement? If
> so, should we make that change before this document is published as an RFC?

Although it seems to be the case that Unicode case folding is primarily 
designed for the purpose of matching (i.e., comparison), I have a 
concern that applying the PRECIS case mapping rule after applying the 
normalization and directionality rules might have unintended 
consequences that we haven't had a chance to consider yet. The PRECIS 
framework expresses a preference (actually a hard requirement) for 
applying the rules in a particular order. We made a late change to the 
username profiles (RFC 7613), such that width mapping is applied first 
(in order to accommodate fullwidth and halfwidth characters in certain 
East Asian scripts). Making a late change to the nickname profile also 
concerns me, even though both of these late changes seem reasonable on 
the face of it. I will try to find time to think about this further in 
the next 24 hours.

> (3) Should we update RFC 7613 so that case folding is applied only as
> part of comparison and not as part of enforcement?

That is less urgent so I suggest that we address the nickname spec first.

Peter