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
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:
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
scicookiecan make use of themakim release.cicommand to do this – not sure how@semantic-releasewill fit in with this, though.For
sigstore-python, there is a workflow in the GitHub Actions marketplace: https://github.com/sigstore/gh-action-sigstore-pythonCode of Conduct