Deterministic CBOR with tag 42 (dCBOR42)

date2024-12-11
editorsRobin Berjon <robin@berjon.com>
Juan Caballero <bumblefudge@learningproof.xyz>
issueslist, new
abstract

dCBOR42 is a form of IPLD that serializes only to deterministic CBOR, by normalizing and reducing some type flexibility. Notably, we support no ADLs.

Basics

(See the current draft specification for dCBOR, and Carsten Bormann's BCP document on the underspecified determinism of Section 4.2 of the CBOR specification). For debugging purposes, either one-way conversion to DAG-JSON or CBOR Extended Diagnostic Notation can be used, but either way, note that the CIDs in such debugging outputs should be the CIDs of the dCBOR42 content, not of other debugging resources.

Further details forthcoming.