Internet-Draft | CoRE Target Attribute Registry | February 2023 |
Bormann | Expires 5 August 2023 | [Page] |
The Constrained RESTful Environments (CoRE) specifications apply Web technologies to constrained environments. One important such technology is Web Linking [RFC8288], which CoRE uses as the basis for a number of discovery protocols, such as the Link Format [RFC6690] in CoAP's Resource Discovery Protocol (Section 7 of [RFC7252]) and the Resource Directory [RFC9176].¶
Web Links can have Target Attributes, the names of which are not generally coordinated by the Web Linking specification (Section 2.2 of [RFC8288]). This short note introduces an IANA registry for coordinating names of Target Attributes when used in Constrained RESTful Environments.¶
This note is to be removed before publishing as an RFC.¶
Status information for this document may be found at https://datatracker.ietf.org/doc/draft-ietf-core-target-attr/.¶
Discussion of this document takes place on the core Working Group mailing list (mailto:core@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/core/. Subscribe at https://www.ietf.org/mailman/listinfo/core/.¶
Source for this draft and an issue tracker can be found at https://github.com/core-wg/core-target-attr.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 5 August 2023.¶
Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
(Please see abstract.)¶
The original Web Linking specification Section 3 of [RFC5988] did not attempt to coordinate names of target attributes except for providing common target attributes for use in the Link HTTP header. The current revision of that specification clarifies (Section 2.2 of [RFC8288]):¶
This specification does not attempt to coordinate the name of target attributes, their cardinality, or use. Those creating and maintaining serialisations SHOULD coordinate their target attributes to avoid conflicts in semantics or syntax and MAY define their own registries of target attributes.¶
This short note introduces an IANA registry for coordinating names of Target Attributes when used in Constrained RESTful Environments.¶
With a registry now available, registration of target attributes is strongly encouraged. The incentive is that an unregistered attribute name might be registered with a different meaning at any time. (See also Section 2, Paragraph 2.)¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This specification defines a new sub-registry for Target Attributes in the CoRE Parameters registry [IANA.core-parameters], with the policy "expert review" (Section 4.5 of [BCP26]).¶
The expert is instructed to be frugal in the allocation of very short target attribute names, keeping them in reserve for applications that are likely to enjoy wide use and can make good use of their shortness. The expert is also instructed to direct the registrant to provide a specification (Section 4.6 of [BCP26]), but can make exceptions, for instance when a specification is not available at the time of registration but is likely forthcoming. If the expert becomes aware of target attributes that are deployed and in use, they may also initiate a registration on their own if they deem such a registration can avert potential future collisions.¶
Each entry in the registry must include:¶
a lower case ASCII [STD80] string that starts with a letter and can
contain digits and hyphen-minus characters afterward
([a-z][-a-z0-9]*
).
(Note that [RFC8288] requires target attribute names to be
interpreted in a case-insensitive way; the restriction to lower case
here ensures that they are registered in a predictable form).¶
a brief description¶
(see Section 2.3 of [BCP26])¶
a reference document that provides a description of the target attribute, including the semantics for when the target attribute appears more than once in a link.¶
Initial entries in this sub-registry are as listed in Table 1:¶
Attribute Name | Brief description | Change Controller | Reference |
---|---|---|---|
href | reserved (not useful as target attribute name) | IESG | [RFC6690] |
anchor | reserved (not useful as target attribute name) | IESG | [RFC6690] |
rel | reserved (not useful as target attribute name) | IESG | [RFC6690] |
rev | reserved (not useful as target attribute name) | IESG | [RFC6690] |
hreflang | (Web Linking) | IESG | [RFC8288] |
media | (Web Linking) | IESG | [RFC8288] |
title | (Web Linking) | IESG | [RFC8288] |
type | (Web Linking) | IESG | [RFC8288] |
rt | resource type | IESG | Section 3.1 of [RFC6690] |
if | interface description | IESG | Section 3.2 of [RFC6690] |
sz | maximum size estimate | IESG | Section 3.3 of [RFC6690] |
ct | Content-Format hint | IESG | Section 7.2.1 of [RFC7252] |
obs | observable resource | IESG | Section 6 of [RFC7641] |
hct | HTTP-CoAP URI mapping template | IESG | Section 5 of [RFC8075] |
osc | hint: resource only accessible using OSCORE | IESG | Section 9 of [RFC8613] |
gosc | Hint: resource only accessible using Group OSCORE or OSCORE | IESG | Section 12 of [I-D.ietf-core-oscore-groupcomm] |
method | A supported authentication method for EDHOC | IESG | Section 6 of [I-D.ietf-core-oscore-edhoc] |
csuite | A supported cipher suite for EDHOC | IESG | Section 6 of [I-D.ietf-core-oscore-edhoc] |
cred-t | A supported type of authentication credential for EDHOC | IESG | Section 6 of [I-D.ietf-core-oscore-edhoc] |
idcred-t | A supported type of authentication credential identifier for EDHOC | IESG | Section 6 of [I-D.ietf-core-oscore-edhoc] |
ead1 | A supported EDHOC EAD_1 item | IESG | Section 6 of [I-D.ietf-core-oscore-edhoc] |
ead2 | A supported EDHOC EAD_2 item | IESG | Section 6 of [I-D.ietf-core-oscore-edhoc] |
ead3 | A supported EDHOC EAD_3 item | IESG | Section 6 of [I-D.ietf-core-oscore-edhoc] |
ead4 | A supported EDHOC EAD_4 item | IESG | Section 6 of [I-D.ietf-core-oscore-edhoc] |
comb-req | Hint: support for the EDHOC+OSCORE request | IESG | Section 6 of [I-D.ietf-core-oscore-edhoc] |
A number of names are reserved as they are used for parameters in links other than target attributes, this includes a further set that is predefined in [RFC8288].¶
This table includes some registrations from drafts that are not yet published as an RFC. Ideally, these RFCs should make those registrations. The entries here are insurance in case the present draft gets stuck on the way and [I-D.ietf-core-oscore-groupcomm] and/or [I-D.ietf-core-oscore-edhoc] get published as RFC first. They also serve to give some impression how the entries might grow, which may be useful for discussing in the WGLC some policies for choosing attribute names.-- Carsten¶
The security considerations of [RFC8288] apply, as do those of the discovery specifications [RFC6690], [RFC7252], and [RFC9176].¶
Jaime provided the list of initial registrations.¶