-
Notifications
You must be signed in to change notification settings - Fork 11
Signing things #332
Copy link
Copy link
Open
Labels
SLSARelating Supply-chain Levels for Software Artifacts (SLSA)Relating Supply-chain Levels for Software Artifacts (SLSA)github_actionsPull requests that update Github_actions codePull requests that update Github_actions codesecuritySecurity related features or bugsSecurity related features or bugs
Metadata
Metadata
Assignees
Labels
SLSARelating Supply-chain Levels for Software Artifacts (SLSA)Relating Supply-chain Levels for Software Artifacts (SLSA)github_actionsPull requests that update Github_actions codePull requests that update Github_actions codesecuritySecurity related features or bugsSecurity related features or bugs
Git allows for signing commits and tags, see also the Signing Your Work chapter. Furthermore, twine upload allows for signing packages when uploading them to a PyPI server.
Related to PR #306 and issue commitizen-tools/commitizen#575, I wanted to keep the discussion going on signing and verifying signatures in an automated workflow. Signing commits and tags not only generated by a local user (who needs to sign commits locally) but also generated by the
release.yamlActionpython-package-template/.github/workflows/release.yaml
Lines 55 to 60 in f41b0e6
and
python-package-template/.github/workflows/release.yaml
Lines 140 to 145 in f41b0e6
Read the linked issue for more information, and take a look at the How to use GPG key in github actions? Also related is issue actions/runner#667.