[idn] Re: stability

Simon Josefsson <jas@extundo.com> Sun, 13 March 2005 16:27 UTC

Received: from psg.com (mailnull@psg.com [147.28.0.62]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA21632 for <idn-archive@lists.ietf.org>; Sun, 13 Mar 2005 11:27:36 -0500 (EST)
Received: from majordom by psg.com with local (Exim 4.44 (FreeBSD)) id 1DAVom-000AC6-B8 for idn-data@psg.com; Sun, 13 Mar 2005 16:19:52 +0000
Received: from [217.13.230.178] (helo=yxa.extundo.com) by psg.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44 (FreeBSD)) id 1DAVoj-000ABo-KO for idn@ops.ietf.org; Sun, 13 Mar 2005 16:19:50 +0000
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.3/8.13.3/Debian-6) with ESMTP id j2DGJfAq004877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <idn@ops.ietf.org>; Sun, 13 Mar 2005 17:19:42 +0100
From: Simon Josefsson <jas@extundo.com>
To: Erik van der Poel <erik@vanderpoel.org>
Cc: idn@ops.ietf.org
Subject: [idn] Re: stability
References: <421B8484.3070802@vanderpoel.org> <20050223072837.GA21463~@nicemice.net> <D872CCF059514053ECF8A198@scan.jck.com> <421D8411.9030006@vanderpoel.org> <p06210208be4390618c81@[192.168.0.101]> <421E0D0C.2000309@vanderpoel.org> <p06210202be43c3888991@[192.168.0.101]> <E07CE813AD23B2D95DA0C740@scan.jck.com> <421E30F2.1040408@vanderpoel.org> <0E7F74C71945B923C52211F3@scan.jck.com> <421EA0C9.1010500@vanderpoel.org> <00a401c51af3$7863aae0$030aa8c0@DEWELL> <A574CA1BE87BFDA3C2A1AC0E@scan.jck.com> <42322CE2.4040509@vanderpoel.org> <4232B2FD.1080104@vanderpoel.org> <4232BA56.5090001@vanderpoel.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
Blog: http://www.livejournal.com/users/jas4711/
X-Hashcash: 1:21:050312:erik@vanderpoel.org::xFGnZBQ2yaktCH5K:0c2F
X-Hashcash: 1:21:050312:idn@ops.ietf.org::sv+oSHFO3Ie9dXjT:6K+m
Date: Sat, 12 Mar 2005 12:04:36 +0100
In-Reply-To: <4232BA56.5090001@vanderpoel.org> (Erik van der Poel's message of "Sat, 12 Mar 2005 01:45:58 -0800")
Message-ID: <iluk6odazwb.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Hashcash: 1:21:050313:idn@ops.ietf.org::qvtTv+LtgTgShyB+:021b
X-Virus-Scanned: ClamAV version 0.81, clamav-milter version 0.81b on yxa.extundo.com
X-Virus-Status: Clean
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on psg.com
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.1
Sender: owner-idn@ops.ietf.org
Precedence: bulk

Erik van der Poel <erik@vanderpoel.org> writes:

> All,
>
> This is probably well known to most of you, but the General Category 
> Value in the Unicode Character Database and the stability of that value 
> are not very relevant to IDNA, which does not depend on the Unicode 
> Categories.
>
> IDNA depends on the Unicode Normalization Form KC table, and there have 
> been very few changes indeed in this table:
>
> http://www.unicode.org/Public/UNIDATA/NormalizationCorrections.txt

Don't forget the normalization flaw in Unicode 3.2 NFKC discussed in:

http://www.unicode.org/review/pr-29.html

Apparently the recommendation will be applied to future Unicode
versions.

PR-29 doesn't merely affect a small set of code points, but rather a
class of strings.  The special strings are all unstable under NFKC3.2.

I think PR-29 is a useful example to consider when deciding how much
trust you should place in the UTC's stability guarantees.  The UTC's
track record in this area suggest to me that the guarantee is
worthless in practice.  I haven't seen an evaluation of alternative
solutions to the PR-29 problem.  Not even signs that alternative
approaches were considered.  I would have expected both.

> Also, IDNA apps depend on tables for converting from various non-Unicode 
> encodings to Unicode. This is another place where instability could 
> affect lookups, potentially even in dangerous ways. Stringprep and IDNA 
> already mention this issue in their Security Considerations sections.

Right.

Thanks,
Simon