Re: [http-auth] Normalization forms in draft-ietf-httpauth-basicauth-enc
"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Tue, 02 July 2013 09:04 UTC
Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: http-auth@ietfa.amsl.com
Delivered-To: http-auth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1837721F991E for <http-auth@ietfa.amsl.com>; Tue, 2 Jul 2013 02:04:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.79
X-Spam-Level:
X-Spam-Status: No, score=-102.79 tagged_above=-999 required=5 tests=[AWL=3.000, BAYES_00=-2.599, GB_I_LETTER=-2, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fMvTo1nvQYMH for <http-auth@ietfa.amsl.com>; Tue, 2 Jul 2013 02:04:39 -0700 (PDT)
Received: from scintmta02.scbb.aoyama.ac.jp (scintmta02.scbb.aoyama.ac.jp [133.2.253.34]) by ietfa.amsl.com (Postfix) with ESMTP id C53CE21F992A for <http-auth@ietf.org>; Tue, 2 Jul 2013 02:04:20 -0700 (PDT)
Received: from scmse02.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id r6293wOM019132; Tue, 2 Jul 2013 18:03:58 +0900
Received: from (unknown [133.2.206.134]) by scmse02.scbb.aoyama.ac.jp with smtp id 45c9_6606_54756c66_e2f6_11e2_bd1b_001e6722eec2; Tue, 02 Jul 2013 18:03:57 +0900
Received: from [IPv6:::1] (unknown [133.2.210.1]) by itmail2.it.aoyama.ac.jp (Postfix) with ESMTP id B2388BF4CD; Tue, 2 Jul 2013 18:02:23 +0900 (JST)
Message-ID: <51D29766.8080803@it.aoyama.ac.jp>
Date: Tue, 02 Jul 2013 18:03:34 +0900
From: "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Yoav Nir <ynir@checkpoint.com>
References: <20130630142838.31885.15315.idtracker@ietfa.amsl.com> <51D04326.5060600@gmx.de> <DEA2EA74-7587-4CAA-9424-4478B136308E@vpnc.org> <51D09F98.2070508@gmail.com> <D434C8F9-D3DC-40EB-A25A-3A259C1A22E6@vpnc.org> <51D1175C.3020007@it.aoyama.ac.jp> <51D11AD4.5050705@gmx.de> <FD268C10-8429-4D09-9A19-6755B9B0DC13@vpnc.org> <42111C34-9B32-45B2-AC94-B18CE5CC081F@checkpoint.com>
In-Reply-To: <42111C34-9B32-45B2-AC94-B18CE5CC081F@checkpoint.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Cc: Julian Reschke <julian.reschke@gmx.de>, "http-auth@ietf.org" <http-auth@ietf.org>
Subject: Re: [http-auth] Normalization forms in draft-ietf-httpauth-basicauth-enc
X-BeenThere: http-auth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: HTTP authentication methods <http-auth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/http-auth>, <mailto:http-auth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/http-auth>
List-Post: <mailto:http-auth@ietf.org>
List-Help: <mailto:http-auth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/http-auth>, <mailto:http-auth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Jul 2013 09:04:45 -0000
On 2013/07/02 16:59, Yoav Nir wrote: > Hi > > For those of us not so well versed in I18N issues, what do you mean by normalization? > > Is it just consolidating look-alike code points, like the multiple hyphens that exist in Unicode? > Does it also involve removing Arabic and Hebrew points? (I think Paul raised this one) > Does it involve removing diacritics? > Does it involve splitting combined characters (like U+00E6 into 'a' and 'e')? > Is there a standard we can point to and say "do this before comparing or hashing"? In the narrow sense, it involves one of the four forms (NFC, NFKC, NFD, NFKD) defined in UAX #15 (http://www.unicode.org/reports/tr15/) NFC/D deal with precomposed/decomposed issues for accents, although not with cases such as U+00E6, where the distinction between "ae" and "æ" should be clearly visible. A Hebrew example would be U+FB1D, HEBREW LETTER YOD WITH HIRIQ, which as an exception is decomposed both in NFC and NFD to U+05D9 U+05B4 (usually, NFC is precomposed). The K variants also include other variant changes, sometimes some very visible ones. For example, they take 1 (full-width) and ① to 1. Here, most hyphen variants are not included, although some are (e.g. U+207B, subscript hyphen). Case folding/equivalence is separate from both of the above cases. Removing diacritics is also separate, because in many cases, that would be besides the point. Paul has already mentioned stringprep, which is the base for nameprep and saslprep (and maybe others that I'm not aware of). That work is currently followed up by the work of the IETF precis WG. Regards, Martin.
- [http-auth] I-D Action: draft-ietf-httpauth-basic… internet-drafts
- Re: [http-auth] I-D Action: draft-ietf-httpauth-b… Julian Reschke
- [http-auth] Normalization forms in draft-ietf-htt… Paul Hoffman
- Re: [http-auth] Normalization forms in draft-ietf… Bjoern Hoehrmann
- Re: [http-auth] Normalization forms in draft-ietf… Yaron Sheffer
- Re: [http-auth] Normalization forms in draft-ietf… Paul Hoffman
- Re: [http-auth] Normalization forms in draft-ietf… Martin J. Dürst
- Re: [http-auth] Normalization forms in draft-ietf… Julian Reschke
- Re: [http-auth] Normalization forms in draft-ietf… Paul Hoffman
- Re: [http-auth] I-D Action: draft-ietf-httpauth-b… Yutaka OIWA
- Re: [http-auth] Normalization forms in draft-ietf… Yoav Nir
- Re: [http-auth] Normalization forms in draft-ietf… Julian Reschke
- Re: [http-auth] Normalization forms in draft-ietf… Martin J. Dürst
- Re: [http-auth] Normalization forms in draft-ietf… Bjoern Hoehrmann
- Re: [http-auth] Normalization forms in draft-ietf… Yoav Nir
- Re: [http-auth] Normalization forms in draft-ietf… Peter Saint-Andre
- Re: [http-auth] Normalization forms in draft-ietf… Michael Sweet
- Re: [http-auth] Normalization forms in draft-ietf… Peter Saint-Andre
- Re: [http-auth] Normalization forms in draft-ietf… Peter Saint-Andre
- Re: [http-auth] Normalization forms in draft-ietf… Bjoern Hoehrmann
- Re: [http-auth] Normalization forms in draft-ietf… Yoav Nir