Return-Path: <martin.casanova@switch.ch>
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 ED87F12006B
 for <regext@ietfa.amsl.com>; Thu, 19 Dec 2019 23:53:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001,
 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 THRqtqk2_zvs for <regext@ietfa.amsl.com>;
 Thu, 19 Dec 2019 23:53:38 -0800 (PST)
Received: from mailg210.ethz.ch (mailg210.ethz.ch
 [IPv6:2001:67c:10ec:5606::21])
 (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 52539120041
 for <regext@ietf.org>; Thu, 19 Dec 2019 23:53:37 -0800 (PST)
Received: from mailm115.d.ethz.ch (2001:67c:10ec:5602::27) by mailg210.ethz.ch
 (2001:67c:10ec:5606::21) with Microsoft SMTP Server (version=TLS1_2, 
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3;
 Fri, 20 Dec 2019 08:53:31 +0100
Received: from mailm212.d.ethz.ch (2001:67c:10ec:5603::26) by
 mailm115.d.ethz.ch (2001:67c:10ec:5602::27) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id
 15.1.1847.3; Fri, 20 Dec 2019 08:53:35 +0100
Received: from mailm212.d.ethz.ch ([fe80::f8f6:45ef:96ed:eee]) by
 mailm212.d.ethz.ch ([fe80::f8f6:45ef:96ed:eee%3]) with mapi id
 15.01.1847.005; Fri, 20 Dec 2019 08:53:35 +0100
From: Martin Casanova <martin.casanova@switch.ch>
To: "Hollenbeck, Scott" <shollenbeck@verisign.com>, "regext@ietf.org"
 <regext@ietf.org>
Thread-Topic: [regext] How to handle Domain Info Command with empty
 authinfo/pw tag in command?
Thread-Index: AQHVtktRIxUkdgVjgkuFl4P8CT96kqfBUSqAgAFTVfU=
Date: Fri, 20 Dec 2019 07:53:35 +0000
Message-ID: <dcfde32c48f245da9695435dfd18d056@switch.ch>
References: <d17d88d0-e9db-9416-1917-dc992fcd2d3a@switch.ch>,
 <a03fb9786cff4a1a84a4fd2672f65622@verisign.com>
In-Reply-To: <a03fb9786cff4a1a84a4fd2672f65622@verisign.com>
Accept-Language: de-CH, en-US
Content-Language: de-CH
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [212.51.156.80]
x-tm-snts-smtp: 647BD3A377668E86DEC5772BDC5904970661D1B6FD14F9FC90395BE8173768082000:8
Content-Type: multipart/alternative;
 boundary="_000_dcfde32c48f245da9695435dfd18d056switchch_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/mznlqqFuRw9j9TRnxdLSYXk-7LM>
Subject: Re: [regext] How to handle Domain Info Command with empty
 authinfo/pw tag in command?
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: Fri, 20 Dec 2019 07:53:42 -0000

--_000_dcfde32c48f245da9695435dfd18d056switchch_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Scott, thank you for your feedback. I investigated why we are not returning=
 2201 to non-sponsoring clients and have been told that at the time when we=
 started with EPP, it was decided that we would deliver the same informatio=
n to a non-sponsoring client as is available over the WHOIS protocol...

The only difference that we make today is to exclude the expiration date of=
 the domain if not not authorized. (authorized being the sponsoring client =
and/or sending the correct authinfo/pwd)


Martin

________________________________
Von: Hollenbeck, Scott <shollenbeck@verisign.com>
Gesendet: Donnerstag, 19. Dezember 2019 13:24:29
An: Martin Casanova; regext@ietf.org
Betreff: RE: [regext] How to handle Domain Info Command with empty authinfo=
/pw tag in command?

Martin, you also have to consider client identification and authorization w=
hen trying to determine an appropriate response code. I can see returning r=
esult code 1000 to a sponsoring registrar who omits the authInfo, but a req=
uest from a non-sponsoring registrar who omits the authInfo should produce =
a 2201 response code. A 2202 would make sense for a non-sponsoring registra=
r who provides invalid authInfo.

Scott

> -----Original Message-----
> From: regext <regext-bounces@ietf.org> On Behalf Of Martin Casanova
> Sent: Thursday, December 19, 2019 4:04 AM
> To: regext@ietf.org
> Subject: [EXTERNAL] [regext] How to handle Domain Info Command with
> empty authinfo/pw tag in command?
>
> Hello
>
> I was hoping for some input of the community about an implementation
> decision for the Domain Info Command/Response when it comes to the
> optional <domain:authInfo> associated with the domain object.
>
> RFC-5731 about  <domain:authInfo>: ... If this element is not provided or=
 if
> the authorization information is invalid, server policy
>  determines if the command is rejected or if response information will be
> returned to the client.
>
> 1.
> In case the <authinfo><pw> element is delivered but not correct (no match
> or not set on domain) we will return a Code 2202 to inform.
> (sponsoring client or not)
>
> 2.
> In case an empty tag is given (<authinfo><pw/></authinfo>) we are
> wondering if:
> Option 1: always Response Code 1000 should be returned Option 2: Only
> answer with 1000 when there is NO authinfo/pw set on the domain (kind of
> confirming it) and otherwise 2202 considering an empty tag as invalid
> authorization information delivered.
>
>
> I think maybe option 2 may be better because that way a registrar could
> check if an <authinfo> is set or not even without knowing it.
> After all, the registry could have set or deleted <authinfo> without noti=
cing
> the registrar. However many clients seem to send
> <authinfo><pw/></authinfo> just about always and they would need to
> adjust.
>
> I have to mention that our Domain Info response will never include the ac=
tual
> <authinfo> since we only store a hash of it for security reasons.
> A Domain Info Command with the <authinfo> Element entirely omitted will
> always be answered with 1000.
>
> Thanks and merry X-Mas!
>
> Martin Casanova
>
> ---
> SWITCH
> Martin Casanova, Domain Applications
> Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland phone +41 44 268 15 55,
> direct +41 44 268 16 25 martin.casanova@switch.ch, www.switch.ch<http://w=
ww.switch.ch>
>
> Working for a better digital world
>
>
> _______________________________________________
> regext mailing list
> regext@ietf.org
> https://www.ietf.org/mailman/listinfo/regext

--_000_dcfde32c48f245da9695435dfd18d056switchch_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; pad=
ding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content=3D"text/html; charset=3DUTF-8">
<style type=3D"text/css" style=3D"">
<!--
p
	{margin-top:0;
	margin-bottom:0}
-->
</style>
<div dir=3D"ltr">
<div id=3D"x_divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; col=
or:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Scott, thank you for your feedback. I investigated why we are not return=
ing 2201 to non-sponsoring clients and have been told that at the time when=
 we started with EPP, it was decided that we would deliver the same informa=
tion to a non-sponsoring client
 as is available over the WHOIS protocol... <u></u><br>
</p>
<p>The only difference that we make today is to exclude the expiration date=
 of the domain if not not authorized. (<span>authorized</span> being the sp=
onsoring client and/or sending the correct authinfo/pwd)</p>
<p><br>
</p>
<p>Martin<br>
</p>
</div>
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
<div id=3D"x_divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" =
color=3D"#000000" style=3D"font-size:11pt"><b>Von:</b> Hollenbeck, Scott &l=
t;shollenbeck@verisign.com&gt;<br>
<b>Gesendet:</b> Donnerstag, 19. Dezember 2019 13:24:29<br>
<b>An:</b> Martin Casanova; regext@ietf.org<br>
<b>Betreff:</b> RE: [regext] How to handle Domain Info Command with empty a=
uthinfo/pw tag in command?</font>
<div>&nbsp;</div>
</div>
</div>
<font size=3D"2"><span style=3D"font-size:10pt;">
<div class=3D"PlainText">Martin, you also have to consider client identific=
ation and authorization when trying to determine an appropriate response co=
de. I can see returning result code 1000 to a sponsoring registrar who omit=
s the authInfo, but a request from
 a non-sponsoring registrar who omits the authInfo should produce a 2201 re=
sponse code. A 2202 would make sense for a non-sponsoring registrar who pro=
vides invalid authInfo.<br>
<br>
Scott<br>
<br>
&gt; -----Original Message-----<br>
&gt; From: regext &lt;regext-bounces@ietf.org&gt; On Behalf Of Martin Casan=
ova<br>
&gt; Sent: Thursday, December 19, 2019 4:04 AM<br>
&gt; To: regext@ietf.org<br>
&gt; Subject: [EXTERNAL] [regext] How to handle Domain Info Command with<br=
>
&gt; empty authinfo/pw tag in command?<br>
&gt;<br>
&gt; Hello<br>
&gt;<br>
&gt; I was hoping for some input of the community about an implementation<b=
r>
&gt; decision for the Domain Info Command/Response when it comes to the<br>
&gt; optional &lt;domain:authInfo&gt; associated with the domain object.<br=
>
&gt;<br>
&gt; RFC-5731 about&nbsp; &lt;domain:authInfo&gt;: ... If this element is n=
ot provided or if<br>
&gt; the authorization information is invalid, server policy<br>
&gt;&nbsp; determines if the command is rejected or if response information=
 will be<br>
&gt; returned to the client.<br>
&gt;<br>
&gt; 1.<br>
&gt; In case the &lt;authinfo&gt;&lt;pw&gt; element is delivered but not co=
rrect (no match<br>
&gt; or not set on domain) we will return a Code 2202 to inform.<br>
&gt; (sponsoring client or not)<br>
&gt;<br>
&gt; 2.<br>
&gt; In case an empty tag is given (&lt;authinfo&gt;&lt;pw/&gt;&lt;/authinf=
o&gt;) we are<br>
&gt; wondering if:<br>
&gt; Option 1: always Response Code 1000 should be returned Option 2: Only<=
br>
&gt; answer with 1000 when there is NO authinfo/pw set on the domain (kind =
of<br>
&gt; confirming it) and otherwise 2202 considering an empty tag as invalid<=
br>
&gt; authorization information delivered.<br>
&gt;<br>
&gt;<br>
&gt; I think maybe option 2 may be better because that way a registrar coul=
d<br>
&gt; check if an &lt;authinfo&gt; is set or not even without knowing it.<br=
>
&gt; After all, the registry could have set or deleted &lt;authinfo&gt; wit=
hout noticing<br>
&gt; the registrar. However many clients seem to send<br>
&gt; &lt;authinfo&gt;&lt;pw/&gt;&lt;/authinfo&gt; just about always and the=
y would need to<br>
&gt; adjust.<br>
&gt;<br>
&gt; I have to mention that our Domain Info response will never include the=
 actual<br>
&gt; &lt;authinfo&gt; since we only store a hash of it for security reasons=
.<br>
&gt; A Domain Info Command with the &lt;authinfo&gt; Element entirely omitt=
ed will<br>
&gt; always be answered with 1000.<br>
&gt;<br>
&gt; Thanks and merry X-Mas!<br>
&gt;<br>
&gt; Martin Casanova<br>
&gt;<br>
&gt; ---<br>
&gt; SWITCH<br>
&gt; Martin Casanova, Domain Applications<br>
&gt; Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland phone &#43;41 44 268=
 15 55,<br>
&gt; direct &#43;41 44 268 16 25 martin.casanova@switch.ch, <a href=3D"http=
://www.switch.ch">
www.switch.ch</a><br>
&gt;<br>
&gt; Working for a better digital world<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; regext mailing list<br>
&gt; regext@ietf.org<br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/regext">https://www.i=
etf.org/mailman/listinfo/regext</a><br>
</div>
</span></font>
</body>
</html>

--_000_dcfde32c48f245da9695435dfd18d056switchch_--

