Re: [kitten] changing "mapped to nothing" in SASLprep-bis

Simon Josefsson <simon@josefsson.org> Thu, 13 September 2012 22:34 UTC

Return-Path: <simon@josefsson.org>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3381C21F86A3 for <kitten@ietfa.amsl.com>; Thu, 13 Sep 2012 15:34:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.779
X-Spam-Level:
X-Spam-Status: No, score=-99.779 tagged_above=-999 required=5 tests=[AWL=0.130, BAYES_00=-2.599, FH_HOST_EQ_D_D_D_D=0.765, HELO_MISMATCH_COM=0.553, HOST_EQ_STATICB=1.372, 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 JEgsaw-1+xOr for <kitten@ietfa.amsl.com>; Thu, 13 Sep 2012 15:34:04 -0700 (PDT)
Received: from yxa-v.extundo.com (static-213-115-179-173.sme.bredbandsbolaget.se [213.115.179.173]) by ietfa.amsl.com (Postfix) with ESMTP id 62CCA21F869F for <kitten@ietf.org>; Thu, 13 Sep 2012 15:34:04 -0700 (PDT)
Received: from latte (static-213-115-179-130.sme.bredbandsbolaget.se [213.115.179.130]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q8DMXwID029505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 14 Sep 2012 00:34:00 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <50524F33.5090003__19414.4675777808$1347571524$gmane$org@stpeter.im>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:120913:kitten@ietf.org::a4vimX8P50Ttczvg:4MEE
X-Hashcash: 1:22:120913:stpeter@stpeter.im::P6h5e/ZFM5vYFIxu:Hz4v
Date: Fri, 14 Sep 2012 00:33:58 +0200
In-Reply-To: <50524F33.5090003__19414.4675777808$1347571524$gmane$org@stpeter.im> (Peter Saint-Andre's message of "Thu, 13 Sep 2012 15:25:07 -0600")
Message-ID: <877grxpn6x.fsf@latte.josefsson.org>
User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: clamav-milter 0.97.3 at yxa-v
X-Virus-Status: Clean
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] changing "mapped to nothing" in SASLprep-bis
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Sep 2012 22:34:05 -0000

I believe we can live with that potential problem.

I wouldn't characterise users' current SASLprep experiences as "smooth
operation", so adding another potential source of problems will mean
little considering the already long list of potential source of
problems.

/Simon

Peter Saint-Andre <stpeter@stpeter.im> writes:

> Dear SASL experts,
>
> RFC 4013 states that certain Unicode code points that are commonly
> mapped to nothing (see Appendix B.1 of RFC 3454) can indeed be so
> mapped when preparing passwords (and usernames) in SASLprep.
>
> In working on draft-melnikov-precis-saslprepbis (which is intended to
> obsolete RFC 4013), Alexey Melnikov and I have followed the general
> approach of the PRECIS framework (and before that IDNA2008) by
> specifying that such code points would simply be disallowed. In
> Unicode 3.2 there are only 27 code points that are affected by this
> rule (e.g., U+00AD = SOFT HYPHEN), and since currently they are mapped
> to nothing they would not be stored in an authentication database.
> However, users might have included such characters in their usernames
> or passwords and thus might expect to input those characters when
> providing usernames or passwords for authentication purposes.
> Therefore, if we change these code points from "mapped to nothing" to
> disallowed, it is possible a small number users might experience an
> error when inputting these characters with updated versions of their
> software, instead of the smooth operation they experienced in the past.
>
> Alexey and I would like to solicit feedback on this issue from
> participants in the KITTEN WG and especially from those who have
> implemented and deployed software that uses SASLprep. Please send your
> feedback to the kitten@ietf.org list or directly to me and Alexey.
>
> Thanks!
>
> Peter