Re: [regext] Internationalized Email Addresses and EPP

Taras Heichenko <tasic@academ.kiev.ua> Mon, 23 November 2020 21:33 UTC

Return-Path: <tasic@academ.kiev.ua>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A8703A12C2; Mon, 23 Nov 2020 13:33:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 y6lDlJpUl1Cy; Mon, 23 Nov 2020 13:33:47 -0800 (PST)
Received: from academ.kiev.ua (academ.kiev.ua [194.143.145.237]) (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 D4B433A12C0; Mon, 23 Nov 2020 13:33:46 -0800 (PST)
Received: from [10.0.3.72] by academ.kiev.ua with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94 (FreeBSD)) (envelope-from <tasic@academ.kiev.ua>) id 1khJSq-000Jm1-HL; Mon, 23 Nov 2020 23:33:42 +0200
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\))
From: Taras Heichenko <tasic@academ.kiev.ua>
In-Reply-To: <b9c6ac7b4eab48808036c6ca703cc72e@verisign.com>
Date: Mon, 23 Nov 2020 23:33:36 +0200
Cc: "beldmit@gmail.com" <beldmit@gmail.com>, "alex.mayrhofer.ietf@gmail.com" <alex.mayrhofer.ietf@gmail.com>, "Gould, James" <jgould@verisign.com>, "regext@ietf.org" <regext@ietf.org>, "Klaus.Malorny@knipp.de" <Klaus.Malorny@knipp.de>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C93E97CF-6054-4AE5-8C21-272C63FDB81D@academ.kiev.ua>
References: <C9EBEF19-55C1-4C5E-87BC-894FBF7439FF@verisign.com> <CAHXf=0p5F1LsUYoeX_mRNvuKNpeOvWufY0tNL9zNn+6Zj0cR1A@mail.gmail.com> <3d6ce5fd7d1e482fb3df168e0d26c0a0@verisign.com> <CADqLbzJC593jbno93Uc2zc1uM65TuN4YXgj5wzeZzhW2GmxDMg@mail.gmail.com> <999A4A0A-CFC1-448C-882B-E8053ADFA272@academ.kiev.ua> <b9c6ac7b4eab48808036c6ca703cc72e@verisign.com>
To: "Hollenbeck, Scott" <shollenbeck=40verisign.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3654.20.0.2.21)
X-Spam-Score_int: [academ.kiev.ua] -28
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/l8kdPznLb_OWByr1Sbtht1GWt6I>
Subject: Re: [regext] Internationalized Email Addresses and EPP
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Nov 2020 21:33:49 -0000


> On 23 Nov 2020, at 22:07, Hollenbeck, Scott <shollenbeck=40verisign.com@dmarc.ietf.org> wrote:
> 
>> -----Original Message-----
>> From: Taras Heichenko <tasic@academ.kiev.ua>
>> Sent: Monday, November 23, 2020 1:46 PM
>> To: Dmitry Belyavsky <beldmit@gmail.com>
>> Cc: Hollenbeck, Scott <shollenbeck@verisign.com>om>;
>> Klaus.Malorny@knipp.de; regext@ietf.org; Gould, James
>> <jgould@verisign.com>om>; alex.mayrhofer.ietf@gmail.com
>> Subject: [EXTERNAL] Re: [regext] Internationalized Email Addresses and EPP
>> 
>> Caution: This email originated from outside the organization. Do not click links
>> or open attachments unless you recognize the sender and know the content
>> is safe.
>> 
>> Hi!
>> 
>>> On 23 Nov 2020, at 17:00, Dmitry Belyavsky <beldmit@gmail.com> wrote:
>>> 
>>> Dear Scott,
>>> 
>> 
>> [skip]
>> 
>>> 
>>> This may be the path of least resistance. I'm still trying to think through hat
>> would happen if a registry returns an internationalized email address to a
>> registrar that doesn't expect one. This could happen after a domain transfer,
>> for example. Is this a problem? If not, maybe we could just get by without
>> any other protocol changes or extensions.
>>> 
>>> From my point of view, if the registry has implemented EAI support, all the
>> registrars will have to do it. They should deal with the clients with such emails
>> _somehow_.
>>> E.g., they hardly can reject the transfer relying on this reason.
>> 
>> There are cases when registry cannot enforce registrars to implement some
>> features. But I see no problem in the registry response with EAI. EPP works
>> with UTF-8 encoding so EAI should not cause the EPP interface crash. Such
>> email can cause strange symbols in the web interface but as for me it should
>> not bring serious problems.
> 
> That's only true if you're not also doing syntax checking of the local part outside of what your XML parser is doing with the schema. A regular expression to match an ascii-only local part would NOT match an internationalized email address.

Usually, software developers use libraries (libxml2 usually) to parse XML. If the XML
contains encoding=utf-8 in its header it would be instruction for the parser to use utf-8
encoding. Of course, further checking will give an error if we try to parse data returned
from a registry. But I see no reason to parse this data – we should show what we got 
from the registry. (Of course, it does not mean that this is impossible.)

> 
> Scott
> 
> _______________________________________________
> regext mailing list
> regext@ietf.org
> https://www.ietf.org/mailman/listinfo/regext

--
Taras Heichenko
tasic@academ.kiev.ua