-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add definitions for in-toto statements? #160
Comments
Is the idea to just have a single dependency to depend on for being able to unmarshal a work with a bundle? I might be wrong here, haven't thought this through in detail, but a client would still need to perform two JSON unmarshal passes. The DSSE envelope captuers the |
That, plus flattening the subdependencies here: if a dependant includes both
Correct -- I believe the main value here is not in having the two unmarshal as part of the same "pass," but just in having the data models collected together. |
Not sure if this is a good idea, or expands the focus of this repo too much; opening for discussion.
Context:
Bundle.dsse_envelope
), and fully exposes the structure of that envelope through messages defined inenvelope.proto
So, my thought: why not embed the in-toto types here, similar to what we've done for the DSSE envelope? This will simplify the dependency graph for Sigstore clients a bit, and (for Python in particular) will eliminate the stacking of different Protobuf library implementations (
protobuf
vs.betterproto
).See also: in-toto/attestation#291
cc @adityasaky @haydentherapper @kommendorkapten
The text was updated successfully, but these errors were encountered: