Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Go library for Sigstore signing and verification

License

NotificationsYou must be signed in to change notification settings

sigstore/sigstore-go

A client library forSigstore, written in Go.

Go ReferenceGo Report Cardtest resultsOpenSSF Scorecard

Features:

  • Signing and verification ofSigstore bundles compliant with Sigstore Client Spec
  • Verification of raw Sigstore signatures by creating bundles for them (seeconformance tests for example)
  • Signing and verifying with a Timestamp Authority (TSA)
  • Signing and verifying with Rekor (Artifact Transparency Log)
  • Structured verification results including certificate metadata
  • TUF support for fetching trusted root certificates and log keys
  • Verification support for customtrusted root
  • Examples for signing and verifying artifacts

There is not built-in support for signing with a KMS or other bring-your-own-key; however you can easily add support by implementing your own version of the interfacepkg/sign/keys.go:Keypair.

Background

Sigstore already has a canonical Go client implementation,cosign, which was developed with a focus on container image signing/verification. It has a rich CLI and a long legacy of features and development.sigstore-go is a more minimal and friendly API for integrating Go code with Sigstore, with a focus on the newly specified data structures insigstore/protobuf-specs.sigstore-go attempts to minimize the dependency tree for simple signing and verification tasks, omitting KMS support and container image verification, and we intend to refactor parts ofcosign to depend onsigstore-go.

Status

sigstore-go is considered stable and ready for production use. It passes thesigstore-conformance signing and verification test suite.

Documentation and examples

Documentation is found in thedocs subdirectory and onpkg.go.dev.

See theexamples directory for examples of how to use this library.

Note that the CLI examples are to demonstrate how to use the library, and not intended as a fully-featured Sigstore CLI likecosign.

Requirements

Tested with:

Note that we do not provide built versions of this library, but you can see what architectures your version ofgo supports withgo tool dist list.

Testing

Tests are invoked using the standard Go testing framework. A helper exists in the Makefile also.

$ maketest

Support

Bug reports are welcome via issues and questions are welcome via discussion. Please refer toSUPPORT.md for details.This project is provided as-is.

Security

Should you discover any security issues, please refer to sigstore'ssecurityprocess

About

Go library for Sigstore signing and verification

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp