-
Notifications
You must be signed in to change notification settings - Fork 137
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
[feature][nodejs] SLSA v1.0 support #2499
Comments
Looks like npm does some validation on the server side that isn't compatible with SLSA v1.0 provenance generated BYOB
https://github.com/ianlewis/actions-test/actions/runs/5817446938/job/15772122301 This might be the kind of thing that could be solved by slsa-framework/slsa#940 |
There are two issues:
|
Indeed. I don't see anything about the key identity so far (it's actually different from the builder ID for BYOB) so fingers crossed there. But yes, runDetails would be out of scope of slsa-framework/slsa#940 |
sharing verification code (slsa-verifier?) is also a direction we could follow. It would consolidate logic verification in one codebase to help scaling across registries. (Example: Verification of GCB provenance is supported in slsa-verifier, but it's more work for each registry to implement this themselves). |
It looks like they went with the structure we specified in the github-actions-buildtypes repo. If we update BYOB to follow that structure then the issues with
|
@steiza @feelepxyz @kommendorkapten Is there a way that we can maybe loosen the SLSA v1.0
|
Yes will take a look at this 👍 |
@ianlewis this should now be fixed! Let me know if this is working as expected. |
I finally took another look at this today. Indeed the builder id error message isn't there anymore but we may still need to update our format for
|
Probably I will need to refactor the |
# Summary Remove the expected GA for Node.js builder since it's stalled on SLSA v1.0 support (#2499) ## Testing Process N/A ## Checklist - [x] Review the contributing [guidelines](https://github.com/slsa-framework/slsa-github-generator/blob/main/CONTRIBUTING.md) - [x] Add a reference to related issues in the PR description. - [x] Update documentation if applicable. - [x] Add unit tests if applicable. - [x] Add changes to the [CHANGELOG](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md) if applicable. Signed-off-by: Ian Lewis <ianlewis@google.com>
npm now supports SLSA v1.0 so we should support generating v1.0 by default in the builder.
The text was updated successfully, but these errors were encountered: