-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Summary
Hi there! I wonder if scicookie as a cookiecutter template could generate SLSA3 provenance for Python-based build artifacts (the source distribution and wheels) in the template files by default (or allow opt-in for users if they want it at the time of the creation of the project using the template, while recommending users to do this by default).
This serves two reasons:
- Reproducibility of build artifacts with easily available metadata (provided with the release or on request by package authors, maintainers, or release managers)
- Enhanced security measures across multiple software distribution levels
More details are at the https://github.com/slsa-framework/slsa-github-generator/ repository and this blog:
https://security.googleblog.com/2022/04/improving-software-supply-chain.html
https://github.com/sigstore/sigstore-python would also be a very viable method to sign artifacts.
Additional Information
Some instructions for creating a workflow that does this are available at: https://github.com/slsa-framework/slsa-github-generator/blob/main/internal/builders/generic/README.md#provenance-for-python
scicookie
can make use of the makim release.ci
command to do this – not sure how @semantic-release
will fit in with this, though.
For sigstore-python
, there is a workflow in the GitHub Actions marketplace: https://github.com/sigstore/gh-action-sigstore-python
Code of Conduct
- I agree to follow the Code of Conduct