Ruby
On this page
sigstore is a pure-ruby implementation of Sigstore signature verification.
The project repository can be found here.
Features
- Pure Ruby implementation of
sigstore signandsigstore verifycommand from the Cosign project gemsubcommand- TUF client implementation
Installation
sigstore requires Ruby version 3.1.0 or greater.
This gem is under active development, and will not be considered stable until the 1.0 release.
Release information is available here.
Add Sigstore to your Gemfile:
gem 'sigstore', '~> 0.1.1'
Install Sigstore:
gem install sigstore
Example
gem sigstore_cosign_verify_bundle --bundle a.txt.sigstore \
--certificate-identity https://github.com/sigstore-conformance/extremely-dangerous-public-oidc-beacon/.github/workflows/extremely-dangerous-oidc-beacon.yml@refs/heads/main \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
a.txt