Internet-Draft | RATS CMW | October 2022 |
Birkolz, et al. | Expires 15 April 2023 | [Page] |
This document defines two encapsulation formats for RATS conceptual messages (e.g., evidence, attestation results, endorsements and reference values.)¶
This note is to be removed before publishing as an RFC.¶
Discussion of this document takes place on the Remote ATtestation ProcedureS Working Group mailing list (rats@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/rats/.¶
Source for this draft and an issue tracker can be found at https://github.com/thomas-fossati/draft-ftbs-rats-msg-wrap.¶
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 15 April 2023.¶
Copyright (c) 2022 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.¶
The RATS architecture defines a handful of conceptual messages (Section 8 of [I-D.ietf-rats-architecture]). Each conceptual message can have multiple serialization formats (Section 9 of [I-D.ietf-rats-architecture]). The same serialized message may have to be transported via different protocols - for example, EAT [I-D.ietf-rats-eat] evidence in a "background check" topological arrangement, AR4SI [I-D.ietf-rats-ar4si] attestation results in "passport" mode.¶
In order to minimize the cost associated with registration and maximize interoperability, it is desirable to reuse their typing information across such boundaries.¶
This document defines two encapsulation formats for RATS conceptual messages that aim to achieve the goals stated above.¶
These encapsulation formats are designed to be:¶
A protocol designer could use these formats, for example, to convey evidence, endorsements or reference values in certificates and CRLs extensions ([DICE-arch]), to embed attesation results or evidence as first class authentication credentials in TLS handshake messages [I-D.fossati-tls-attestation], to transport attestation-related payloads in RESTful APIs, or for stable storage of attestation results in form of file system objects.¶
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.¶
In this document, CDDL [RFC8610] [RFC9165] is used to describe the data formats.¶
The reader is assumed to be familiar with the vocabulary and concepts defined in [I-D.ietf-rats-architecture].¶
Two types of RATS Conceptual Message Wrapper (CMW) are specified in this document:¶
The CMW array illustrated in Figure 1 is composed of two members:¶
A CMW array can be encoded as CBOR [STD94] or JSON [RFC8259].¶
When using JSON, the value field is encoded as Base64 using the URL and filename safe alphabet (Section 5 of [RFC4648]) without padding.¶
When using CBOR, the value field is serialized as a CBOR bytes string.¶
CBOR Tags used as CMW are derived from CoAP Content Format values. If a CoAP Content Format exists for a RATS conceptual message, the TN() transform defined in Appendix B of [RFC9277] can be used to derive a CBOR tag in range [1668546817, 1668612095].¶
The (equivalent) examples below assume the media-type
application/vnd.example.rats-conceptual-msg
has been registered
alongside a corresponding CoAP content format 30001
. The CBOR tag
1668576818
is derived applying the TN transform as described in
Section 3.2.¶
TODO Security¶
When registering a new media type for evidence, in addition to its syntactical description, the author SHOULD provide a public and stable description of the signing and appraisal procedures associated with the data format.¶
TODO acknowledge.¶