Skip to content

ITE-12: CDDL, CBOR, and COSE signatures - #60

Draft
deeglaze wants to merge 1 commit into
in-toto:masterfrom
deeglaze:ite12
Draft

deeglaze wants to merge 1 commit into
in-toto:masterfrom
deeglaze:ite12

Conversation

@deeglaze

Copy link
Copy Markdown
Contributor

I'd like for us to attempt to tackle the conciseness problem with an internet standard wire format with associated data definition language.

With CDDL defining the structure of all the predicates precisely, we can see about adding in-toto as a Tag type in the IETF CoRIM specification.

@deeglaze
deeglaze requested a review from a team as a code owner March 25, 2025 16:32
@deeglaze
deeglaze marked this pull request as draft March 25, 2025 16:33
@adityasaky

Copy link
Copy Markdown
Member

Hi @deeglaze, sorry for the delay!

We've had earlier attempts at not being very specific about serialization formats and signing envelopes. I wonder if a subset of what you propose here can be applied to the in-toto/attestation spec so that spec is not JSON-specific. We already have ITE-5 that'll allow for using COSE.

At that point, would it require some operational pieces in in-toto/attestation to enable CDDL (i.e., if the spec is updated to be less dependent on JSON alone)?

cc @in-toto/attestation-maintainers

@SantiagoTorres

Copy link
Copy Markdown
Member

My b, I had an action item on this and never got to it. I claim that writing an informational ITE should be doable, so that we have an "encoding" of how the COSE wrapper should be implemented. In theory the ITE-5 carveout lets implementers use COSE and be compliant/follow the spec, but we could add more clarification on e.g., what're authenticated headers on in-toto if you're using a COSE wrapper...

@trishankatdatadog

Copy link
Copy Markdown
Contributor

Agreed with an information ITE along the lines of the successful idea of Uptane-style protocols, operations, usage, and formats (POUFs).

@deeglaze

Copy link
Copy Markdown
Contributor Author

The downside of the "we allow other serialization formats" but the project's own rejection of anything other than targets of protoc, which is entirely Google-controlled, makes ITE-5 weak without this proposal. If there were openness to contributions to a different serialization format that aren't supported by protoc, then I wouldn't mind. My intention was to get very specific data models specified even if they're still treated as an information model for different serialization in order to have unambiguous interpretation. I don't want to take an open source project, make a bespoke format for internal efficiency, and then not be able to contribute back for what we use to be more broadly understood in the same ecosystem.

@JustinCappos

JustinCappos commented Nov 13, 2025 via email

Copy link
Copy Markdown
Contributor

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.

5 participants