Re: [core] Late review of draft-ietf-core-target-attr-02

Carsten Bormann <cabo@tzi.org> Wed, 01 March 2023 14:40 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A040C14F72D for <core@ietfa.amsl.com>; Wed, 1 Mar 2023 06:40:12 -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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZzuFkt6e8_jm for <core@ietfa.amsl.com>; Wed, 1 Mar 2023 06:40:07 -0800 (PST)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CD699C14EAA3 for <core@ietf.org>; Wed, 1 Mar 2023 06:40:06 -0800 (PST)
Received: from [192.168.217.124] (p548dc9a4.dip0.t-ipconnect.de [84.141.201.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4PRcMm6zvtzDCfk; Wed, 1 Mar 2023 15:40:04 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <Y/9cK9xeGvfFjoS4@hephaistos.amsuess.com>
Date: Wed, 01 Mar 2023 15:40:04 +0100
Cc: core@ietf.org
X-Mao-Original-Outgoing-Id: 699374404.441819-75245f070831b39b22514dff35c72d20
Content-Transfer-Encoding: quoted-printable
Message-Id: <67C79243-6709-49C2-B19C-2BF063E5AA5F@tzi.org>
References: <167767262860.20493.18340427345389487454@ietfa.amsl.com> <Y/9cK9xeGvfFjoS4@hephaistos.amsuess.com>
To: Christian Amsüss <christian@amsuess.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/5zEMWA4vzuvbUAX1MXxXMBt2vrg>
Subject: Re: [core] Late review of draft-ietf-core-target-attr-02
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Mar 2023 14:40:12 -0000

Hi Christian,

> On 2023-03-01, at 15:07, Christian Amsüss <christian@amsuess.com> wrote:
> 
> Signed PGP part
> Hi all,
> 
> sorry for being late to the party, here's a few notes:

Thank you.

> * Should this contain all attributes used in published RFCs with 6690?

Yes.

>  If so, there's some in RFC9176 Resouce Directory, and the RD
>  Parameters Registry should be updated with a note that all "A"-used
>  entries should also get registered over here.

Makes sense.

> * Some documents introduce target attributes for specific resource types
>  or rels; example [1].
> 
>  Should we account for that?
> 
>  If so, the `base`, `et` `d` and `ep` of RFC9176 Resource Directory
>  would be limited to rt=core.rd-ep.

Well, the names are pretty much gone.
They might obtain slightly different semantics in a different context.
So there might be multiple stakeholders for a single name.

> * Why is href reserved? Is there anyone else apart from the abandoned
>  links-json who uses it that way?

We decided not to standardize links-json as an interchange format, instead deferring to CoRAL (which is still a check without cover… so I’m not even sure I would recommend against using links-json as an interchange format).
However, links-json is still the preferred way to carry link-format information around within an implementation.

But we didn’t invent href, compare Appendix A of RFC 8288.

Most importantly, 6690 says:

   parameters.  The link parameter "href" is reserved for use as a query
   parameter for filtering in this specification (see Section 4.1) and
   MUST NOT be defined as a link parameter.  As in [RFC5988], multiple


>  (To be clear: I'm in favor of having it there, if only b/c an internal
>  representation of a link can then use it there, but it might warrant a
>  footnote).

Indeed.

> Other than that: Thanks, good document, let's go. (And I may want to
> hook into the registry with CoRAL).

Definitely!

Grüße, Carsten