[regext] Fwd: RDAP JSContact feedback

Mario Loffredo <mario.loffredo@iit.cnr.it> Tue, 09 November 2021 12:46 UTC

Return-Path: <mario.loffredo@iit.cnr.it>
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 2A8293A089B for <regext@ietfa.amsl.com>; Tue, 9 Nov 2021 04:46:25 -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 YMdQFGYwdXO1 for <regext@ietfa.amsl.com>; Tue, 9 Nov 2021 04:46:19 -0800 (PST)
Received: from smtp.iit.cnr.it (mx4.iit.cnr.it [146.48.58.11]) by ietfa.amsl.com (Postfix) with ESMTP id 4703F3A088C for <regext@ietf.org>; Tue, 9 Nov 2021 04:46:18 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by smtp.iit.cnr.it (Postfix) with ESMTP id CFA3CB805BA for <regext@ietf.org>; Tue, 9 Nov 2021 13:46:16 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mx4.iit.cnr.it
Received: from smtp.iit.cnr.it ([127.0.0.1]) by localhost (mx4.iit.cnr.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ralNzKJKOpfr for <regext@ietf.org>; Tue, 9 Nov 2021 13:46:07 +0100 (CET)
Received: from [192.12.193.108] (pc-loffredo.nic.it [192.12.193.108]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by smtp.iit.cnr.it (Postfix) with ESMTPSA id F2860B804E4 for <regext@ietf.org>; Tue, 9 Nov 2021 13:46:06 +0100 (CET)
References: <d6cdeb56-d513-9de7-f732-f02fc9708bd2@iit.cnr.it>
To: "regext@ietf.org" <regext@ietf.org>
From: Mario Loffredo <mario.loffredo@iit.cnr.it>
X-Forwarded-Message-Id: <d6cdeb56-d513-9de7-f732-f02fc9708bd2@iit.cnr.it>
Message-ID: <c211cdcf-3144-70f8-0ad3-745b7b8c5791@iit.cnr.it>
Date: Tue, 09 Nov 2021 13:44:46 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <d6cdeb56-d513-9de7-f732-f02fc9708bd2@iit.cnr.it>
Content-Type: multipart/alternative; boundary="------------15E038237CB23E46ED864455"
Content-Language: it
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/YxWBgCCt7KLYhqNvbcKXlTOyV9I>
Subject: [regext] Fwd: RDAP JSContact feedback
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: Tue, 09 Nov 2021 12:46:25 -0000

Sorry, I reply to Jasdip instead of relplying to all.



-------- Messaggio Inoltrato --------
Oggetto: 	Re: [regext] RDAP JSContact feedback
Data: 	Tue, 9 Nov 2021 13:43:38 +0100
Mittente: 	Mario Loffredo <mario.loffredo@iit.cnr.it>
A: 	Jasdip Singh <jasdips@arin.net>



Hi Jasdip,

please find my replies below.

Il 09/11/2021 01:23, Jasdip Singh ha scritto:
>
> Hello Mario,
>
> Please find my comments below.
>
> Thanks,
>
> Jasdip
>
> *From: *Mario Loffredo <mario.loffredo@iit.cnr.it>
> *Date: *Monday, November 8, 2021 at 1:09 PM
> *To: *Jasdip Singh <jasdips@arin.net>, "regext@ietf.org" <regext@ietf.org>
> *Subject: *Re: [regext] RDAP JSContact feedback
>
>     1.*Rationale*
>
>     “provides a simpler and more efficient representation for contact
>     information”
>
>     Is it possible someone could question the “efficient” part, given
>     the RDAP response with JSContact would likely be bigger in size
>     than that with jCard? E.g. the sample jscard member in Fig 1 is
>     2724 characters whereas the equivalent vcardArray member in Fig 17
>     in RFC 9083 is 1842 chars, per this word-count tool
>     <https://wordcounter.net/character-count>. May help to elaborate
>     what we mean here with efficiency.
>
> [ML] The reasons why the authors considers JSContact more efficient 
> than jCard are presented in Section 2 (please see after "JSCard 
> differs from jCard in that it:"). Searching for the meaning of 
> "efficient" on the web, I find "performing or functioning in the best 
> possible manner with the least waste of time and effort" so I might 
> change the sentence as in the following:
>
> " more efficient representation for contact information with regard to 
> time and effort saved in processing it."
>
> Would it sound better to you?
>
> [JS] Yes.
>
[ML] Good.
>
>     *3. Using JSCard objects in RDAP Responses*
>
>     “The JSCard "uid" property SHOULD contain the same value as the
>     RDAP "handle" property.”
>
>     Curious why it is not a MUST?
>
> [ML] Well, RDAP "handle" is registry-unique while JSContact "uid" is 
> an identifier deigned to be unique across different systems.
>
> That being said, my opinion is: if the contact is used only as part of 
> an RDAP response, the two properties will much likely coincide. On the 
> contrary, if the contact is used by the registry also outside the RDAP 
> ecosystem, they will potentially differ.
>
> Honestly don't know how much the second scenario is realistic but 
> SHOULD leaves the door open to possible evolutions.
>
> [JS] Ok.
>
[ML] Good.
>
>     “To aid interoperability, RDAP providers are RECOMMENDED to use as
>     map keys the following string values and labels defined in [RFC5733]”
>
>     Should we elaborate upon the consequences if this recommendation
>     is not followed? Should this be a MUST?
>
> [ML] This is merely a basic set of map keys related to registry's 
> mostly used information items and recalls the basic field sets 
> described in RFC8982.
>
> In that circumstance, the WG decided that, being part of the 
> operational aspects, the field set names should be dependent on the 
> RDAP profiles.
>
> Should the WG agree on the provided keys, I would have no problem to 
> change it into MUST.
>
> [JS] Agreed. Good to ask.
>
[ML] Good.
>
>     “"org" in the "organizations" map for either the only or the
>     internationalized organization;”
>
>     Should we clarify further here? Are we trying to say: use it only
>     when there is a single org, whether internationalized or not?
>
> [ML] Use it when there is a single org. If both internationalized and 
> localized forms exist, use it for the internationalized form and put 
> the localized one in the "localizations" property.
>
> [JS] Like how you elaborated it. Perhaps we can include it for clarity.
>
[ML] Good.
>
>     “"addr" in the "addresses" map for either the only or the
>     internationalized postal address ;”
>
>     If we do end up clarifying for org, similar clarification would be
>     needed here.
>
>     Nit: extra space before the semi-colon.
>
> [ML] See my previous comment. I'll correct the typo.
>
>     “"email" in the "emails" map for the email address;”
>
>     Should we address the EAI (email address internationalization)
>     scenario here, similar to org and addr i18n?
>
> [ML] Absolutely. I missed that.
>
>     “If present, the localized versions of name, organization and
>     postal address MUST be inserted into the "localizations" map.”
>
>     For clarity, would it help to include an example for the localized
>     versions?
>
> [ML] Agreed.
>
> [JS] Great!
>
[ML] Good.
>
>
>     “Implementers MAY use different mapping schemes to define keys for
>     additional entries of the aforementioned maps or others.”
>
>     Should we elaborate this further with an example? Do we need to
>     discuss client implications for this MAY?
>
> [ML] As I wrote above, the provided map keys are related to the 
> contact properties described in RFC5733 so they are assumed to be the 
> most commonly used by registries.
>
> However, with reference to the Figure 15 of RFC9083, other contact 
> information, such as vCard "key" and "url", could be included in other 
> JSContact maps, i.e. the "online" map.
>
> Obviously, I can add an example matching this case in the document but 
> I can't find a reasonable mapping scheme other than using a trivial 
> sequential number (e.g. url-1, url-2, etc.)  that seems very trivial 
> to me.
>
> [JS] Agreed; an example looks like an overkill. Perhaps, for guidance, 
> we could add some verbiage around “using a trivial sequential number 
> (e.g. url-1, url-2, etc.)“.
>
[ML] OK.
>
>     *4. Transition Considerations*
>
>     *4.2.1.6. Goals*
>
>     Should we move this sub-section up to the top, so as to upfront
>     give the reader a sense of the “requirements” for the transition
>     design?
>
> [ML] I intended that the WG decided to change the draft title to 
> clearly state that the draft's primary goal is to define an RDAP 
> extension.
>
> The jCard replacement is a secondary goal subordinated to other 
> conditions becoming true; for example, the number of implementations, 
> the explicit requirement in a RDAP profile to deprecate jCard.
>
> If I understood correctly, this concept must be better clarified in 
> the document.
>
> [JS] Oh, my point was just to have Goals as the first sub-section 
> within the Transition Considerations section. :)
>
[ML] OK. Sorry for the misunderstanding.
>
>     “the response would always be compliant to [RFC9083];”
>
>     What does this mean when 9083 does not know about JSCard?
>
> [ML] The response would always be compliant for two reasons:
>
> - being the "jscard" property a response extension, its presence would 
> be signaled by the "jscard" conformance tag;
>
> - being "vcardArray" property optional in a response, its absence 
> would be allowed.
>
> [JS] Well explained! Wonder if it would be good to add these 
> clarifying points, to help make it less implicit?
>
[ML] No problem from  my side. I'll change the document to incorporate it.
>
>     *4.2.1.2. Stage 2: jCard sunset*
>
>     “include a description reporting the jCard sunset end time”
>
>     Should we clarify that the notice’s description string would
>     contain both the time and date, as we do when defining eventDate
>     in RFC 9083
>     <https://datatracker.ietf.org/doc/html/rfc9083#section-4.5>?
>
> [ML] I'll correct the sentence in "include a description reporting the 
> jCard sunset end date and time"
>
> [JS] Ok.
>
[ML] Good.
>
>     “"rel": "deprecation"”
>
>     In various examples (Figures 2, 3, 4, and 5), we use this
>     “deprecation” rel type. Do we need to register it with the IANA
>     Link Relations registry
>     <https://www.iana.org/assignments/link-relations/link-relations.xhtml>?
>
> [ML] This is already addressed by 
> https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-deprecation-header-02#section-7.2 
> <https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-deprecation-header-02#section-7.2>
>
> [JS] Oh, I missed that. No, we are good here. :)
>
[ML] :-)
>
>
>
>     “plus the parameter "jscard" set to a true value”
>
>     Should we make it consistent with “1/true/yes” from section
>     4.2.1.3.  Stage 3: jCard deprecation?
>
> [ML] Absolutely.
>
>     *6. IANA Considerations*
>
>     “Extension identifier: jscard”
>
>     Should we version this extension as say, jscard_0, in case we need
>     to evolve it in the future? That said, we have not always
>     versioned extensions in the IANA RDAP Extensions
>     <https://www.iana.org/assignments/rdap-extensions/rdap-extensions.xhtml>
>     registry.
>
> [ML] Honestly the method we should follow to assign conformance tags 
> appears still obscure to me :-(
>
> [JS] You are not alone. :)
>
> Maybe, in this case, having to refer to a spec outside RDAP that could 
> be changed through time, I agree that it could be more appropriate to 
> add a version number.
>
> [JS] Ok.
>
[ML] Good.
>
>     *7. Security Considerations*
>
>     “The only mandatory property, namely "uid", is usually an opaque
>     string.”
>
>     Do we need to clarify further here, given “uid” would be a
>     non-opaque handle in jscard?
>
> [ML] Sorry but I didn't catch this. Did you mean that "uid" in jscard 
> could disclose some sensitive contact information?
>
> [JS] That’s an interesting question. In contrast with a UUID for a 
> “uid”, a handle might disclose. But, I was simply reacting to the 
> “usually an opaque string” phrase given we have a SHOULD for “uid” 
> being a handle. Meaning, in our case, it would more likely be a handle 
> (less opaque) than a UUID (more opaque).
>
[ML] UUID is not the only value accepetd for "uid" in JSContact (see 
https://datatracker.ietf.org/doc/html/draft-ietf-jmap-jscontact-08#section-2.1.2 
<https://datatracker.ietf.org/doc/html/draft-ietf-jmap-jscontact-08#section-2.1.2>), 
both URI and free-form text are accepted.

Maybe opaque is not the right term. I'll rearrange the sentence to mean 
that the only required property in JSContact is not a sensitive 
information as it happens with fn for jCard.

>     “redacted properties can be merely excluded without using
>     placeholder values”
>
>     Now that we have the RDAP redaction draft
>     <https://datatracker.ietf.org/doc/draft-ietf-regext-rdap-redacted/>,
>     should we elaborate further vis-à-vis the Removal and/or Empty
>     Value redaction methods?
>
> [ML] Can you clarify this point?
>
> [JS] I was thinking it could guide better here by saying that use the 
> Removal method, with a reference to the RDAP redaction draft 
> <https://datatracker.ietf.org/doc/draft-ietf-regext-rdap-redacted/> 
> included. IIUC, JSContact seems to obviate the Empty Value method, 
> unlike for redacting “” or null values in jCard.
>
[ML] Ah, understood.
>
>
>
>     *General comments:*
>
>      1. Does the portion of the spec for jCard to JSContact transition
>         signaling add significant implementation overhead for RDAP
>         servers and clients? Could an out-of-band (OOB) method have
>         been employed? (There is a similar transition effort happening
>         in the RPKI space, in moving from rsync to RRDP
>         <https://datatracker.ietf.org/doc/html/draft-ietf-sidrops-prefer-rrdp-01>,
>         but that seems more OOB.) Just wanted to ask in the spirit of
>         “what not to do.” :)
>
> [ML] Obviously, we can figure out the best way for RDAP providers to 
> inform the clients about the transition steps. Personally, I'm in 
> favor of REST services providing self-descriptive responses and this 
> is the spirit of 
> https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-deprecation-header-02 
> <https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-deprecation-header-02> 
> but I'm open to any shared proposal.
>
>
> _______________________________________________
> regext mailing list
> regext@ietf.org
> https://www.ietf.org/mailman/listinfo/regext

-- 
Dr. Mario Loffredo
Technological Unit “Digital Innovation”
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Web:http://www.iit.cnr.it/mario.loffredo