Internet-Draft COSE Deterministic Encodings November 2026
Mih & Sokolov Expires 27 May 2027 [Page]
Workgroup:
COSE
Internet-Draft:
draft-mih-sokolov-cose-deterministic-encodings-04
Published:
Intended Status:
Standards Track
Expires:
Authors:
S. Mih
Action State Group, Inc.
A. Sokolov
Tyche Institute

Deterministic Encodings for COSE

Abstract

A COSE Hash Envelope signs the digest of a preimage, not the preimage itself. A verifier that holds the content as a decoded value, such as a CBOR data item, rather than the bytes that were hashed has to encode the value again, and nothing in the Hash Envelope says how the producer encoded it. CBOR permits more than one encoding of the same data item, so a digest mismatch cannot tell a modified value from a value encoded another way. This document defines a COSE Hash Envelope protected-header parameter in which the producer states the deterministic encoding it applied. It defines one value, the integer 1, for the Core Deterministic Encoding Requirements of RFC 8949, and no encoding of its own; an application profile can identify another encoding by a URL. A verifier ignores a value that does not identify an encoding it implements.

Note to Readers

Individual submission, intended for the COSE Working Group (cose@ietf.org).

Source for this document, with a reference emitter and verifier and test vectors, is at https://github.com/action-state-group/cose-deterministic-encodings.

Status of This Memo

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 27 May 2027.

▲

Table of Contents

1. Introduction

1.1. Problem Statement

A COSE Hash Envelope [RFC9995] signs the digest of a preimage. A verifier checks the content binding by hashing the preimage and comparing the result with the payload ([RFC9995] Section 5.3). Often, though, a verifier does not hold the preimage: it holds the content as a decoded value, such as a CBOR data item that arrived inside a larger message or was kept as a database record. To check that value, the verifier has to encode it again and hash the result.

Re-encoding reproduces the preimage only if the verifier applies the encoding the producer applied, and nothing in the Hash Envelope says what that was. CBOR permits more than one encoding of the same data item ([RFC8949] Section 4.2), and a producer need not apply a deterministic one: {"x": 1.5} is a1 61 78 f9 3e 00 under the Core Deterministic Encoding Requirements ([RFC8949] Section 4.2.1) and a1 61 78 fb 3f f8 00 00 00 00 00 00 when every floating-point value is written as binary64, and both are valid CBOR. A verifier that re-encodes the value deterministically and computes a different digest cannot tell which happened: the value was modified, or the producer encoded it another way. Nor can it tell beforehand whether re-encoding can succeed, or whether it has to obtain the bytes that were hashed.

The gap is not a missing deterministic encoding: [RFC8949] Section 4.2.1 defines one, and this document defines none. The gap is that the Hash Envelope identifies the hash algorithm (258) and the content type (259) of the preimage, but not whether the producer applied a deterministic encoding to create it. This document fills that gap with one protected-header parameter, in which the producer states the encoding it applied, as it states the hash algorithm in payload-hash-alg (258). For CBOR content the statement is the integer 1: the preimage is the Core Deterministic Encoding of the value, and a verifier that re-encodes the value that way reproduces it unless the value changed. When the parameter is absent, nothing changes: the verifier needs the preimage, as [RFC9995] Section 5.3 describes.

Which deterministic encoding was applied matters as well. A deterministic encoding process selects one encoding for each data item, and three such processes are in common use for CBOR. The Core Deterministic Encoding Requirements of [RFC8949] Section 4.2.1 require the preferred serialization of its Section 4.1. Its Section 4.2.3 orders map keys length-first instead, for protocols that need compatibility with an earlier definition of canonical CBOR; this process is used mostly in FIDO [CTAP2], and the Python library cbor2 implements only this one. CBOR/c-42 [I-D.caballero-cbor-cborc42], part of the DAG-CBOR profile [DAG-CBOR] that the IPFS and IPLD ecosystem uses, chooses its own serialization for some data items instead of the preferred serialization of [RFC8949]. Each process yields one encoding per data item, but the three need not yield the same one, so a verifier that re-encodes a value has to know which process the producer applied.

[RFC8949] offers the second only for compatibility with that earlier definition, and the third departs from its preferred serialization. This document therefore steers protocols that need a deterministic encoding to the first, unless a legacy deployment favors another: the integer 1 identifies the first (Section 3.1). A text-string value, a URL, is the extension point by which an application profile can identify another encoding (Section 3), so that the parameter need not be redefined to serve it.

1.2. Background and Approach

The COSE Hash Envelope [RFC9995] signs the digest of a preimage and identifies the hash algorithm (258), the content type of the preimage (259), and optionally where the preimage can be retrieved (260). A verifier that holds the preimage can check that the digest of it, produced with the hash algorithm identified by payload-hash-alg (258), matches the payload, as [RFC9995] Section 5.3 describes. That check needs no information from this document, and retaining the preimage is the simplest way to make it possible.

The Hash Envelope carries the digest, not the preimage, and payload-location (260) is optional. The content therefore reaches a verifier, if at all, from outside the Hash Envelope, in whatever form its application provides, which can be a structured value rather than the bytes that were hashed. The content can arrive as a data item inside a larger CBOR message, and unless the message wraps that item in a byte string, most CBOR decoders cannot return its encoded bytes ([I-D.ietf-cbor-serialization] Appendices H.1 and J.1). A system can also store the content in another representation -- for example, a software inventory that keeps Concise Software Identification (CoSWID) tags [RFC9393] as records in a database -- rather than keep a second copy of each item as the bytes that were hashed, provided that representation preserves each data item exactly (Section 6). To check such content against its Hash Envelope, the verifier has to encode the value again, the case in which [I-D.ietf-cbor-serialization] Section 5.3.1 says deterministic encoding becomes necessary and notes that designs of this kind are often chosen to reduce data size, preserve privacy, or meet other design constraints. COSE meets the same need for its own Sig_structure, which the signer and the verifier each construct rather than transmit, by fixing how that structure is encoded ([RFC9052] Sections 4.4 and 9). For a Hash Envelope preimage, whose content type the application chooses, COSE fixes no encoding.

As Section 1.1 describes, re-encoding reproduces the preimage only if the verifier applies the encoding the producer applied. The preimage-content-type (259) names the type of the content, such as application/swid+cbor, not the encoding applied to it. A verifier that assumes an encoding the producer did not state cannot tell a modified value from one encoded another way. The parameter lets the verifier tell the two apart: when the producer states the encoding, a mismatch means the value the verifier holds is not the value the producer encoded. When it does not, nothing changes: the verifier checks the content binding as [RFC9995] Section 5.3 describes (Section 4.3).

This document defines one protected-header parameter, deterministic-encodings, which identifies that encoding. The integer 1, the one value this document defines, identifies the Core Deterministic Encoding Requirements of [RFC8949] Section 4.2.1 (Section 3.1); an application profile can identify another encoding by a URL (Section 3). This document defines no encoding of its own. As with the hash algorithm in payload-hash-alg (258), the producer states its choice and the verifier follows it. Naming a canonicalization or a profile by a URI has precedent: XML Signature names the canonicalization algorithm applied to the signed content by a URI ([RFC3275] Section 6.1), and the eat_profile claim names a profile, including the encoding choices it fixes, by a URI or an OID ([RFC9711] Sections 4.3.2 and 6.4). The parameter uses the extension point the Hash Envelope protected header already provides (Section 4 of [RFC9995]: * (int / tstr) => any). The encoding is not carried as a media-type parameter of preimage-content-type (259). The application/cbor media type defines no parameters ([RFC8949] Section 9.3), so such a parameter would have to be registered for every media type the encoding applies to, and a CoAP Content-Format number carries only the parameters fixed in its registry entry ([RFC7252] Section 12.3), so each pairing of media type and encoding would also need its own number. A profile that has its own media type, such as application/vnd.ipld.dag-cbor [DAG-CBOR], is already identified by 259; content labelled application/cbor, or with an application's own type such as application/swid+cbor, is not.

The scope of this document is structured values, such as CBOR data items, and the deterministic encodings that serialize them. Media encodings, such as those of images, and builds of software from source code are out of scope; such content is checked from its bytes, as [RFC9995] Section 5.3 describes.

2. Terminology

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.

"COSE", "COSE_Sign1", and "protected header" are defined in [RFC9052]; "CDDL" in [RFC8610]; "Hash Envelope" and "preimage" in [RFC9995]. As in [RFC9995], the payload of a Hash Envelope is a digest, and the preimage consists of the bytes that were hashed to produce it. The Hash Envelope labels this document builds on are 258 (payload-hash-alg), 259 (preimage-content-type), and 260 (payload-location).

This document also uses the following terms:

Structured value:

A value with internal structure, such as a CBOR data item, that a deterministic encoding serializes to create a preimage.

Application profile:

A specification of an application or protocol that uses deterministic-encodings and states which encodings its producers apply and its verifiers implement: the one this document identifies by the integer 1, or others, each named by a URL.

Content binding:

The correspondence between content a verifier holds -- a preimage, or a structured value -- and the payload of a Hash Envelope. A verifier checks it as [RFC9995] Section 5.3 describes. The check succeeds when the digest of the preimage, held or re-created from a structured value, produced with the hash algorithm identified by payload-hash-alg (258), matches the payload, and the verifier found no inconsistency in the protected header (Section 4.2); otherwise it fails. This document adds no other outcome.

3. The deterministic-encodings Header Parameter

TBD_1:

deterministic-encodings. The deterministic encoding with which a structured value was serialized to create the bytes that were hashed (preimage) to produce the payload, given as the integer 1 or as a URL.

It extends [RFC9995] by adding one optional member to the Hash_Envelope_Protected_Header CDDL of [RFC9995] Section 4, alongside the members for labels 258-260. The extended rule restates the [RFC9995] rule with that member added:

Hash_Envelope_Protected_Header_With_Encoding = {
    ? &(alg: 1) => int,
    &(payload_hash_alg: 258) => int,
    ? &(payload_preimage_content_type: 259) => uint / tstr,
    ? &(payload_location: 260) => tstr,
    ? &(deterministic_encodings: TBD_1) => 1 / tstr,
    * (int / tstr) => any
}

Label TBD_1 MAY be present in the protected header and MUST NOT be present in the unprotected header, following the placement rule [RFC9995] states for labels 258 through 260. When label TBD_1 is present, preimage-content-type (259) MUST also be present (Section 4.2). A producer MUST NOT list label TBD_1 in the crit header parameter ([RFC9052] Section 3.1), so that a verifier that implements only [RFC9995] can ignore it.

The value of deterministic-encodings is either the unsigned integer 1 or a text string holding a URL. The integer 1 identifies the Core Deterministic Encoding Requirements of [RFC8949] Section 4.2.1 (Section 3.1). This document defines no other integer value and creates no registry.

A text string value is a URL: a URI ([RFC3986] Section 3) with the "https" scheme ([RFC9110] Section 4.2.2) that links to the part of a specification that defines exactly one deterministic encoding. When the linked document defines more than one encoding, the URL MUST carry a fragment ([RFC9110] Section 4.2.5) that selects the section defining the encoding that was applied. A producer copies the URL of the encoding it applied. A verifier compares the value with the URLs of the encodings it implements, character by character ([RFC3986] Section 6.2.1), and does not dereference it.

Which URLs a producer can use, and which a verifier acts on, is decided by the application profile that uses this parameter, not by this document; a profile that names a URL is responsible for the URL, the encoding, and the encoding's Applicable Content Types (Section 4.2). No registry of these URLs is needed, and a value that a verifier does not implement changes no verification outcome: the verifier ignores it (Section 4.3).

3.1. The Value for CBOR Content

For CBOR content, this document defines one value: the integer 1. As the value of deterministic-encodings, 1 states that the structured value was encoded according to the Core Deterministic Encoding Requirements of [RFC8949] Section 4.2.1. It does not stand for the other encodings that [RFC8949] describes, such as the length-first map key ordering of its Section 4.2.3. For a CBOR sequence [RFC8742], each data item is encoded according to these requirements. The choices that [RFC8949] Section 4.2.2 leaves to a protocol, including the representation of NaN values, are not part of this encoding (Section 6).

A producer that applied this encoding and includes deterministic-encodings MUST set it to the integer 1, not to a URL, so that producers and verifiers use one value for the encoding. The integer takes 1 byte; the URL of that section on the RFC Editor's site would take 59 bytes.

An RFC does not change once it is published, so the integer 1 names one fixed text. A later specification that changes deterministic encoding is identified by a URL of its own (Section 3), and Hash Envelopes that carry the integer 1 keep their meaning. For example, [I-D.ietf-cbor-serialization] defines preferred-plus serialization (its Section 4) and deterministic serialization (its Section 5), and its deterministic serialization excludes NaNs other than 0xf97e00. Once published as an RFC, its deterministic serialization could be identified by the URL of the section of that RFC that defines it, with the fragment. Its preferred-plus serialization is not deterministic when the value contains a map (its Section 5.3.2), so it is not an encoding for this parameter.

Other encodings, of CBOR or of other content such as JSON, are identified by URLs that the application profiles that use them name (Section 3); this document does not list them. A URL is not the integer 1, even when it links to Section 4.2.1 of [RFC8949]: a verifier compares a URL only with the URLs of the encodings it implements.

4. Producer and Verifier Behavior

4.1. Producers

When a producer creates the preimage by applying a deterministic encoding to a structured value, it SHOULD include deterministic-encodings, so that a verifier holding only the structured value can re-create the preimage. When present, the value MUST identify the encoding actually applied. A producer that serializes a structured value without a deterministic encoding, or whose preimage is not the serialization of a structured value -- for example application/octet-stream content, an image, or an archive -- has no encoding to identify, and the parameter is absent; the content binding can then be checked only from the preimage bytes.

4.2. Consistency with preimage-content-type

The Applicable Content Types of the encoding that the integer 1 identifies (Section 3.1) are application/cbor, application/cbor-seq, application/cose, application/cose-key, application/cose-key-set, application/cose-x509, application/cwt, and application/multipart-core, and media types with the +cbor, +cbor-seq, +cose, +cwt, or +sd-cwt structured syntax suffix. When deterministic-encodings is present, preimage-content-type (259) MUST also be present, and its value MUST match one of the Applicable Content Types of the encoding that deterministic-encodings identifies:

  • A 259 value that is a media-type name matches when its type and subtype -- with any parameters removed, and compared case-insensitively ([RFC6838] Section 4.2) -- equal a listed media type, or when its subtype ends in a listed structured syntax suffix ([RFC6838] Section 4.2.8).

  • A 259 value that is a Content-Format number matches when the CoAP Content-Formats registry ([RFC7252] Section 12.3) assigns that number to a matching media type with no content coding.

A producer MUST NOT emit a Hash Envelope that violates these rules -- for example, one pairing the integer 1 with application/json. A verifier that implements the encoding that deterministic-encodings identifies, and finds preimage-content-type (259) absent or with a value that does not match the Applicable Content Types of that encoding, MUST treat the check of the content binding as failed, without attempting recomputation. This check comes first, and takes precedence over Section 4.3. A verifier that does not implement the identified encoding, like one that implements only [RFC9995], ignores the parameter, and its results are unchanged.

4.3. Verifying the Content Binding

A verifier that holds the preimage itself -- for example, as retrieved from payload-location (260) -- checks the content binding as [RFC9995] Section 5.3 describes: it checks whether the digest of the preimage, produced with the hash algorithm identified by payload-hash-alg (258), matches the payload. That check needs no encoding information, and applies whether or not deterministic-encodings is present, subject to Section 4.2.

A verifier that holds only a structured value -- for example, content it received, stored, or decoded in a form other than the preimage itself -- has to re-create the preimage by encoding that value. When deterministic-encodings identifies an encoding the verifier implements, the verifier MUST encode the value with that encoding, and MUST NOT infer the encoding from preimage-content-type (259) or from the structure of the value. If the digest of the result does not match the payload, the check fails. It also fails if the verifier cannot produce that encoding of the value -- for example, when the value holds a NaN with a payload that its encoder does not support (Section 3.1).

When deterministic-encodings is absent, or its value does not identify an encoding the verifier implements -- for example, a URL that the verifier's application profile does not name, an integer other than 1, or a value of another type, such as the floating-point number 1.0 -- the verifier ignores the parameter, and checks the content binding as it would for a Hash Envelope without it, as [RFC9995] Section 5.3 describes. A verifier that holds no preimage then has nothing to hash, and the check fails. This document adds no other outcome.

A Hash Envelope produced without this parameter -- including any produced before the parameter was registered -- is not defective: its content binding can still be verified from the preimage bytes. Signature validity is unaffected by the check of the content binding: a verifier that has not established the content binding can still validate the signature of the COSE_Sign1 as specified in [RFC9052].

5. Examples

These use Extended Diagnostic Notation ([RFC8610] Appendix G), in the style of [RFC9995] Section 4.1; signature and key material are truncated.

The structured value {"b": 2, "a": 1}, a CBOR map, encoded per the Core Deterministic Encoding Requirements of [RFC8949] Section 4.2.1 (bytewise key order, placing "a" before "b"), gives the 7-octet preimage a2616101616202, whose SHA-256 digest is a0d3af9e86e5517f729bad0657e2c6f3b7d03899894c8d6b33759074c893b5e3:

18([ # COSE_Sign1
  <<{
    / alg                     / 1: -7, # ES256
    / hash algorithm          / 258: -16, # sha-256
    / preimage type           / 259: "application/cbor",
    / deterministic encodings / TBD_1: 1, # RFC 8949, Section 4.2.1
  }>>
  / unprotected / {},
  / payload     / h'a0d3af9e...c893b5e3', # digest above
  / signature   / h'...'  # 64 octets, r || s
])

[RFC9393] registers application/swid+cbor for Concise Software Identification (CoSWID) tags but does not require a deterministic encoding of them, so two producers may serialize the same tag as different byte sequences. A producer that applies the Core Deterministic Encoding Requirements before hashing a CoSWID tag sets preimage-content-type (259) to application/swid+cbor and deterministic-encodings to the integer 1 (Section 3.1) -- recording its own choice, not a CoSWID requirement -- so that a verifier holding the decoded tag knows how to re-create the preimage.

A Hash Envelope over JSON content can carry deterministic-encodings with the URL of a specification that defines a deterministic encoding of JSON, such as the JSON Canonicalization Scheme [RFC8785], "https://www.rfc-editor.org/rfc/rfc8785", with preimage-content-type "application/json", when the application profile the producer follows names that URL. [RFC8785] defines one encoding, so the URL carries no fragment (Section 3). This document does not name the URL. A verifier that implements that encoding and holds the decoded JSON value re-creates the preimage with it. A verifier that does not implement it ignores the parameter, and checks the content binding as [RFC9995] Section 5.3 describes (Section 4.3).

6. Security Considerations

A deterministic encoding fixes the preimage for a given structured value, so decoding a preimage and encoding the result again reproduces the preimage only if decoding preserved that value exactly. Decoding into a programming language's native types can lose distinctions the encoding depends on -- for example, between integer and floating-point numbers, or the presence of a tag. Choices that decide which data item represents a value, such as those [RFC8949] Section 4.2.2 leaves to each protocol for tags and for integer versus floating-point values, belong to the structured value, not to the encoding that deterministic-encodings identifies. A choice that changes only how the same data item is serialized, such as encoding every floating-point value as binary64, is a different encoding, not the one that the integer 1 identifies (Section 3.1). A producer that re-reads stored content before hashing MUST ensure the preimage it hashes is byte-identical to the encoding's own output. A verifier that re-creates a preimage from a structured value (Section 4.3) needs that value exactly as the producer encoded it; otherwise its recomputed digest can differ from the payload, and the check of the content binding then fails.

A verifier does not dereference a URL in deterministic-encodings, so the value causes no network access, and a URL whose resource has moved or changed does not change the verifier's result. A value that does not identify an encoding the verifier implements has no effect on the result (Section 4.3).

7. Privacy Considerations

A digest over deterministically encoded content is a stable function of that content, so the payload is linkable wherever the content recurs. If the structured value comes from a low-entropy space, encoding and hashing candidate values can recover it; this risk already exists wherever [RFC9995] is used, and identifying the encoding removes an ambiguity that might have slowed such an attempt.

8. IANA Considerations

8.1. COSE Header Parameters

IANA is requested to register the following entry in the "COSE Header Parameters" registry, in the "Integer values from 256 to 65535" range, under the Specification Required policy ([RFC8126] Section 4.6) that governs that range:

Table 1
Name Label Value Type Value Registry Description Reference
deterministic-encodings TBD_1 1 / tstr none Deterministic encoding applied to create the preimage of a Hash Envelope payload This document

The suggested value for TBD_1 is 271, the lowest unassigned value in the "Integer values from 256 to 65535" range of the COSE Header Parameters registry as of 2026-11-23.

9. References

9.1. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC3986]
Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, DOI 10.17487/RFC3986, , <https://www.rfc-editor.org/rfc/rfc3986>.
[RFC6838]
Freed, N., Klensin, J., and T. Hansen, "Media Type Specifications and Registration Procedures", BCP 13, RFC 6838, DOI 10.17487/RFC6838, , <https://www.rfc-editor.org/rfc/rfc6838>.
[RFC7252]
Shelby, Z., Hartke, K., and C. Bormann, "The Constrained Application Protocol (CoAP)", RFC 7252, DOI 10.17487/RFC7252, , <https://www.rfc-editor.org/rfc/rfc7252>.
[RFC8126]
Cotton, M., Leiba, B., and T. Narten, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 8126, DOI 10.17487/RFC8126, , <https://www.rfc-editor.org/rfc/rfc8126>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.
[RFC8610]
Birkholz, H., Vigano, C., and C. Bormann, "Concise Data Definition Language (CDDL): A Notational Convention to Express Concise Binary Object Representation (CBOR) and JSON Data Structures", RFC 8610, DOI 10.17487/RFC8610, , <https://www.rfc-editor.org/rfc/rfc8610>.
[RFC8742]
Bormann, C., "Concise Binary Object Representation (CBOR) Sequences", RFC 8742, DOI 10.17487/RFC8742, , <https://www.rfc-editor.org/rfc/rfc8742>.
[RFC8949]
Bormann, C. and P. Hoffman, "Concise Binary Object Representation (CBOR)", STD 94, RFC 8949, DOI 10.17487/RFC8949, , <https://www.rfc-editor.org/rfc/rfc8949>.
[RFC9052]
Schaad, J., "CBOR Object Signing and Encryption (COSE): Structures and Process", STD 96, RFC 9052, DOI 10.17487/RFC9052, , <https://www.rfc-editor.org/rfc/rfc9052>.
[RFC9110]
Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Semantics", STD 97, RFC 9110, DOI 10.17487/RFC9110, , <https://www.rfc-editor.org/rfc/rfc9110>.
[RFC9995]
Steele, O., Lasker, S., and H. Birkholz, "CBOR Object Signing and Encryption (COSE) Hash Envelope", RFC 9995, DOI 10.17487/RFC9995, , <https://www.rfc-editor.org/rfc/rfc9995>.

9.2. Informative References

[CTAP2]
FIDO Alliance, "Client to Authenticator Protocol (CTAP)", , <https://fidoalliance.org/specs/fido-v2.2-ps-20250714/fido-client-to-authenticator-protocol-v2.2-ps-20250714.html>.
[DAG-CBOR]
IPLD, "Specification: DAG-CBOR", , <https://ipld.io/specs/codecs/dag-cbor/spec/>.
[I-D.caballero-cbor-cborc42]
Bumblefudge and R. Berjon, "The tag-42 profile of CBOR Core", Work in Progress, Internet-Draft, draft-caballero-cbor-cborc42-00, , <https://datatracker.ietf.org/doc/html/draft-caballero-cbor-cborc42-00>.
[I-D.ietf-cbor-serialization]
Lundblade, L., "CBOR Serialization and Determinism", Work in Progress, Internet-Draft, draft-ietf-cbor-serialization-13, , <https://datatracker.ietf.org/doc/html/draft-ietf-cbor-serialization-13>.
[RFC3275]
Eastlake 3rd, D., Reagle, J., and D. Solo, "(Extensible Markup Language) XML-Signature Syntax and Processing", RFC 3275, DOI 10.17487/RFC3275, , <https://www.rfc-editor.org/rfc/rfc3275>.
[RFC8785]
Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, DOI 10.17487/RFC8785, , <https://www.rfc-editor.org/rfc/rfc8785>.
[RFC9393]
Birkholz, H., Fitzgerald-McKay, J., Schmidt, C., and D. Waltermire, "Concise Software Identification Tags", RFC 9393, DOI 10.17487/RFC9393, , <https://www.rfc-editor.org/rfc/rfc9393>.
[RFC9711]
Lundblade, L., Mandyam, G., O'Donoghue, J., and C. Wallace, "The Entity Attestation Token (EAT)", RFC 9711, DOI 10.17487/RFC9711, , <https://www.rfc-editor.org/rfc/rfc9711>.

Appendix A. Changes from Version 03

This section is to be removed before publishing as an RFC.

Appendix B. Changes from Version 02

This section is to be removed before publishing as an RFC.

Appendix C. Changes from Version 01

This section is to be removed before publishing as an RFC.

Appendix D. Changes from Version 00

This section is to be removed before publishing as an RFC.

Acknowledgments

The authors thank Amaury Chamayou for a detailed review that aligned this document's terminology, CDDL, and verification rules with [RFC9995], proposed the name core-deterministic, and compared the size of the parameter's values, Henk Birkholz for a review of its scope, motivation, and terminology, Orie Steele for his review, Laurence Lundblade for asking that the document state the problem it solves, and Carsten Bormann for describing the deterministic encoding processes in use for CBOR.

Authors' Addresses

Steven Mih
Action State Group, Inc.
Anton Sokolov
Tyche Institute