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

VSA JSON struct tags #379

Open
ramonpetgrave64 opened this issue Aug 28, 2024 · 0 comments
Open

VSA JSON struct tags #379

ramonpetgrave64 opened this issue Aug 28, 2024 · 0 comments

Comments

@ramonpetgrave64
Copy link

The json truck tags for VSA v1 seem like they should be in camel case, instead of snake case.

This means that for the VSA predicate in a document formatted like the slsa.dev example the only parsed fields unmarshalled successfully would be policy, and partially for verifier, which seems to be missing verifier.version.

In slsa-framework/slsa-verifier, I have defined the json struct tags that I think should be correct.

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

No branches or pull requests

1 participant