Re: [I18nrp] Conservatism principle doesn't go far enough

Nico Williams <nico@cryptonector.com> Sun, 03 February 2019 23:48 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: i18nrp@ietfa.amsl.com
Delivered-To: i18nrp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3CA6E12F19D for <i18nrp@ietfa.amsl.com>; Sun, 3 Feb 2019 15:48:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.com
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 doYhGTWPDVFE for <i18nrp@ietfa.amsl.com>; Sun, 3 Feb 2019 15:48:54 -0800 (PST)
Received: from eastern.maple.relay.mailchannels.net (eastern.maple.relay.mailchannels.net [23.83.214.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBD38126F72 for <i18nrp@ietf.org>; Sun, 3 Feb 2019 15:48:53 -0800 (PST)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 74A9168060B; Sun, 3 Feb 2019 23:48:52 +0000 (UTC)
Received: from pdx1-sub0-mail-a78.g.dreamhost.com (unknown [100.96.29.126]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 2A5F86828DF; Sun, 3 Feb 2019 23:48:52 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from pdx1-sub0-mail-a78.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Sun, 03 Feb 2019 23:48:52 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nico@cryptonector.com
X-MailChannels-Auth-Id: dreamhost
X-Trade-Invention: 44ddb4d16b016549_1549237732325_1415812692
X-MC-Loop-Signature: 1549237732325:213795424
X-MC-Ingress-Time: 1549237732324
Received: from pdx1-sub0-mail-a78.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a78.g.dreamhost.com (Postfix) with ESMTP id CB27281A5F; Sun, 3 Feb 2019 15:48:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=BynKQX/DbKmls2 wOIyhYcOtLg1I=; b=m4pc4A3lXPDZKNshVICNEg1v1UjLw5wr+LdO3CAOcaM+Hh KhfLV1ToUy7maJHYr2yYujVzgA3xmZyOf6ZO9xOvrm4Mll7/9sEocoGdNzkhxKTo PTy2JIc0TDm3q9DDis9DQEvEl2xIoCEyAjizVXb5dpRz3+OSULqz5TkEKJT9I=
Received: from localhost (unknown [24.28.108.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by pdx1-sub0-mail-a78.g.dreamhost.com (Postfix) with ESMTPSA id 6063B81A59; Sun, 3 Feb 2019 15:48:49 -0800 (PST)
Date: Sun, 03 Feb 2019 17:48:47 -0600
X-DH-BACKEND: pdx1-sub0-mail-a78
From: Nico Williams <nico@cryptonector.com>
To: Asmus Freytag <asmusf@ix.netcom.com>
Cc: i18nrp@ietf.org
Message-ID: <20190203234846.GA4108@localhost>
References: <20190201021802.A5160200D93BBA@ary.qy> <4C0F3C8D65FB57C697E72F8D@PSB> <016001d4bb75$15350130$3f9f0390$@acm.org> <a956b63b-cff0-5df3-b7fc-511274542349@ix.netcom.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <a956b63b-cff0-5df3-b7fc-511274542349@ix.netcom.com>
User-Agent: Mutt/1.9.4 (2018-02-28)
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrkeefgddufecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkfhggtggujggfsehttdertddtredvnecuhfhrohhmpefpihgtohcuhghilhhlihgrmhhsuceonhhitghosegtrhihphhtohhnvggtthhorhdrtghomheqnecukfhppedvgedrvdekrddutdekrddukeefnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehlohgtrghlhhhoshhtpdhinhgvthepvdegrddvkedruddtkedrudekfedprhgvthhurhhnqdhprghthheppfhitghoucghihhllhhirghmshcuoehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmqedpmhgrihhlfhhrohhmpehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmpdhnrhgtphhtthhopehnihgtohestghrhihpthhonhgvtghtohhrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd
Archived-At: <https://mailarchive.ietf.org/arch/msg/i18nrp/dVkL3b5mwRA3BkMxxPyIQ9NLwhE>
Subject: Re: [I18nrp] Conservatism principle doesn't go far enough
X-BeenThere: i18nrp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Internationalization Review Procedures <i18nrp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i18nrp>, <mailto:i18nrp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i18nrp/>
List-Post: <mailto:i18nrp@ietf.org>
List-Help: <mailto:i18nrp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i18nrp>, <mailto:i18nrp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Feb 2019 23:48:56 -0000

On Sat, Feb 02, 2019 at 11:52:45PM -0800, Asmus Freytag wrote:
> On 2/2/2019 8:01 PM, Larry Masinter wrote:
> > But I think this is counter-productive and wrong. If you're showing someone
> > a URL which is not in normal form, normalization will lose this critical
> > information. Better to just display the punicode for any unnormalized
> > domains.
> 
> I'm missing something here. What "critical" information (other than the
> normalization state) is it that gets lost?

There's a confusable issue, isn't there?  If you show me a URI which if
I were to type in would take me elsewhere...  That is an important bit
of information.  If DNS servers just had had to implement normalization-
insensitive matching, that wouldn't be a problem a tall, but obviously
we couldn't get DNS servers to do anything other than ASCII case
insensitivity.

Whether the punycoded name is displayed, or perhaps U-labels are
displayed but in some fashion as to make the danger clear (in a loud red
font, say, modulo accessibility), is another story.  I think I'd prefer
to see the Unicode and some danger warning, or perhaps hide the URI and
when I try to see it tell me it's dangerous and why.

> There are some scripts where ordinary text is most likely not normalized and

Ordinary text, as in prose from some document, yes, but security-
relevant identifiers generally need to be normalized.

> where it's also not necessarily trivial for users to enter normalized text.
> Should all of those URLs get displayed as punycode?

Users cannot be expected to enter normalized text, naturally (how could
they?).  Normalization has to be a software function, and a non-
negotiable part of the interface; somewhere, security-relevant
identifiers must be normalized.

Again, in some systems one could just normalization-insensitive
matching, but DNS cannot be such a system, therefore for DNS we must
normalize on create.

Nico
--