Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ITE-12: translate data definitions to CDDL #452

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

deeglaze
Copy link

As a means to improve the conciseness of in-toto, we can dually express objects in both JSON and CBOR using a standard data definition language called CDDL. This is complementary to in-toto/ITE#60

In versions 1.1 and prior, the description for in-toto predicates was
informal pseudocode for specifying the shape of an object. With the
ratification of CDDL in RFC8610, it is possible to concisely describe an
object's regular structure in a standard language and furtheremore
account for more concise encoding with CBOR (from RFC8949).

To bring the base specification up to date with ITE-12, this change
constitutes a minor version increase to account for the new feature of
CBOR support. There is no need for a major version increase because the
JSON representation is semantically equivalent, given certain reasonable
interpretations of the meaning of the given pseudocode.
In accordance with ITE-12.
In accordance with ITE-12.
In accordance with ITE-12.
In accordance with ITE-12.
In accordance to ITE-12.
In accordance with ITE-12.
The magic number codepoint for the embedding is used to allow for a
CycloneDX CBOR definition to be later specified and likely not collide
with this codepoint.
In accordance with ITE-12.
The magic number codepoint for the embedding is used to allow for a
SPDX CBOR definition to be later specified and likely not collide
with this codepoint. The technique used for CycloneDX embedding.
In accordance to ITE-12.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant