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

Fix serialization of SLSA BuildMetadata.InvocationID #328

Merged
merged 2 commits into from
May 14, 2024

Conversation

msuozzo
Copy link
Contributor

@msuozzo msuozzo commented May 13, 2024

per the docs, the correct serialization is "invocationId": https://slsa.dev/spec/v1.0/provenance#:~:text=%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22-,invocationId,-%22%3A%20old

This aligns this (deprecated) version with the proto-based one in in-toto/attestation: https://github.com/in-toto/attestation/blob/main/go/predicates/provenance/v1/provenance.pb.go#L287C85-L287C97

Fixes issue:

Fixes #260

Description:

Please verify and check that the pull request fulfills the following
requirements:

  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

@msuozzo
Copy link
Contributor Author

msuozzo commented May 14, 2024

@marcelamelara @adityasaky

@adityasaky
Copy link
Member

could you sign off the second commit?

@msuozzo
Copy link
Contributor Author

msuozzo commented May 14, 2024

could you sign off the second commit?

Done. sorry about that!

@msuozzo
Copy link
Contributor Author

msuozzo commented May 14, 2024

Thanks for the quick turnaround @adityasaky !!

@adityasaky adityasaky merged commit dd62787 into in-toto:master May 14, 2024
11 of 12 checks passed
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.

Oversight in the SLAS v1 field invocationID?
2 participants