-
Notifications
You must be signed in to change notification settings - Fork 593
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
Use in-toto CycloneDX predicate to be compatible with cosign #1270
Conversation
This addresses Issue anchore#1268 Signed-off-by: Arnaud J Le Hors <[email protected]>
I'm told the CycloneDX project has discussed the matter and decided to use the same value as what syft is currently using. So, I'm changing this to a draft PR. We should wait for the in-toto definition to be updated before applying this PR. |
Thanks for the follow-up @lehors! |
The decision by the CycloneDX project is now official: And in-toto-goland has been updated accordingly: I think it makes sense to merge this PR. It will make no difference in how syft works but it makes the code cleaner. |
Yea Happy to merge this so we're using the value from the in-toto library. Really appreciate the follow up on this @lehors! |
I think we just need to update this PR with the latest in-toto-golang |
Signed-off-by: Christopher Phillips <[email protected]>
Indeed, I had just thought about that: I also need to update go.mod to get the newer version. I don't know what your policy is with regard to dependencies. Would you rather wait for the next official release of in-toto-golang so we can simply use the new tag? I think that's fine, there is no hurry. |
Signed-off-by: Christopher Phillips <[email protected]>
Just pushed a commit that has the latest from |
Looks good. I think you can go ahead and merge this now. Thanks! |
…#1270) Co-authored-by: Christopher Phillips <[email protected]>
…#1270) Co-authored-by: Christopher Phillips <[email protected]>
This addresses Issue #1268
As noted in in-toto/attestation#82 (comment) it is not clear what the predicate value should really be but this change leaves that question to in-toto and ensures alignment with other tools such as cosign.
Signed-off-by: Arnaud J Le Hors [email protected]