Re: [precis] Review of draft-melnikov-precis-saslprepbis-03

Alexey Melnikov <alexey.melnikov@isode.com> Tue, 25 September 2012 11:32 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7563921F88A0 for <precis@ietfa.amsl.com>; Tue, 25 Sep 2012 04:32:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.644
X-Spam-Level:
X-Spam-Status: No, score=-101.644 tagged_above=-999 required=5 tests=[AWL=-0.637, BAYES_00=-2.599, DATE_IN_PAST_12_24=0.992, J_CHICKENPOX_14=0.6, USER_IN_WHITELIST=-100]
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 DggcPpBFJLF7 for <precis@ietfa.amsl.com>; Tue, 25 Sep 2012 04:32:39 -0700 (PDT)
Received: from statler.isode.com (statler.isode.com [62.3.217.254]) by ietfa.amsl.com (Postfix) with ESMTP id C3F7721F88AB for <precis@ietf.org>; Tue, 25 Sep 2012 04:32:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1348572743; d=isode.com; s=selector; i=@isode.com; bh=dFEK3JXGyLhL/zM+9BnvupiMHr6NYt9z8dYU7XbVNGA=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=PD7Vkvmi/DQyML5S04kctRNxBAxS7H792I/ylLDB9+2AkEpyA68Q2OOUxiHOhaBlsVaCsw glZdZqnk/EG22rcDQQY5JH02cMoxYWVucl9pWwnhPHDw5/AS+gQmuXhgU0kg2XLtLpX9DV y8YPd25pDBymSq1GhPfK8gsclIxHkwk=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250]) by statler.isode.com (submission channel) via TCP with ESMTPA id <UGGWRwBpSUHj@statler.isode.com>; Tue, 25 Sep 2012 12:32:23 +0100
Message-ID: <5060BD8D.5090600@isode.com>
Date: Mon, 24 Sep 2012 21:07:41 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <20120914162208.30845.65648.idtracker@ietfa.amsl.com> <50535A6B.8010702@stpeter.im> <8FD6CBCE-60CD-4049-A0E6-B2388D6919DF@cisco.com> <817D19D4-1615-440A-8F75-DEAEFE0BEA58@isode.com> <5057821A.1050903@stpeter.im>
In-Reply-To: <5057821A.1050903@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "precis@ietf.org" <precis@ietf.org>
Subject: Re: [precis] Review of draft-melnikov-precis-saslprepbis-03
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 25 Sep 2012 11:32:40 -0000

On 17/09/2012 21:03, Peter Saint-Andre wrote:
> On 9/17/12 12:21 PM, Alexey Melnikov wrote:
>> On 17 Sep 2012, at 19:09, "Matt Miller (mamille2)"
>> <mamille2@cisco.com> wrote:
> [I agree with the other points that Matt raised. Thanks for the review!]
>
>>> * 3.2 (Passwords - Preparation) :: I do wonder about the
>>> rationale for step 2) (map all non-ASCII space to ASCII space).
>>> I myself have not run into conditions where this would matter,
>>> but I mostly deal with US-based consumers with passwords almost
>>> exclusively in the ASCII range.  On the surface, it seems a bit
>>> contradictory in principle to the "no bidi rule" rationale that
>>> is included. I'm not advocating for retention or removal of step
>>> 2), but rather for providing a rationale (one way or the other).
>> This rule was always in SASLPrep, so this is trying to preserve
>> some sort of backward compatibility. Whether it is a good enough
>> reason to keep the rule - I don't know.
> This rule applied to stringprep via Appendix B.1 in RFC 3454:
>
> http://tools.ietf.org/html/rfc3454#appendix-B.1
>
> In the interest of full disclosure, the code points involved were:
>
> U+00AD SOFT HYPHEN
> U+034F COMBINING GRAPHEME JOINER
> U+1806 MONGOLIAN TODO SOFT HYPHEN
> U+180B MONGOLIAN FREE VARIATION SELECTOR ONE
> U+180C MONGOLIAN FREE VARIATION SELECTOR TWO
> U+180D MONGOLIAN FREE VARIATION SELECTOR THREE
> U+200B ZERO WIDTH SPACE
> U+200C ZERO WIDTH NON-JOINER
> U+200D ZERO WIDTH JOINER
> U+2060 WORD JOINER
> U+FE00 VARIATION SELECTOR-1
> [...other variation selectors here...]
> U+FE0F VARIATION SELECTOR-13
> U+FEFF ZERO WIDTH NO-BREAK SPACE
>
> As far as I can see, we have two alternatives for SASLprep-bis:
>
> 1. Continue to map those code points to nothing.
Did you mean "continue to map them to U+0020"?
> 2. Disallow those code points by subclassing the FreeClass.
>
> I don't have a strong feeling either way, although mapping to nothing
> has always struck me as a wimpy approach and I'd probably prefer to
> explicitly disallow unwanted code points...