sigstore

package
v0.0.75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package sigstore provides a client for verifying artifacts using sigstore

Index

Constants

View Source
const (
	// SigstorePublicTrustedRootRepo is the public trusted root repository for sigstore
	SigstorePublicTrustedRootRepo = "tuf-repo-cdn.sigstore.dev"
	// GitHubSigstoreTrustedRootRepo is the GitHub trusted root repository for sigstore
	GitHubSigstoreTrustedRootRepo = "tuf-repo.github.com"
	// LocalCacheDir is the local cache directory for the verifier
	LocalCacheDir = "/tmp/minder-cache"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Sigstore

type Sigstore struct {
	// contains filtered or unexported fields
}

Sigstore is the sigstore verifier

func New

func New(sigstoreTUFRepoURL string, authOpts ...container.AuthMethod) (*Sigstore, error)

New creates a new Sigstore verifier

func (*Sigstore) Verify

func (s *Sigstore) Verify(ctx context.Context, artifactType verifyif.ArtifactType,
	owner, artifact, checksumref string) ([]verifyif.Result, error)

Verify verifies an artifact

func (*Sigstore) VerifyContainer

func (s *Sigstore) VerifyContainer(ctx context.Context, owner, artifact, checksumref string) (
	[]verifyif.Result, error)

VerifyContainer verifies a container artifact using sigstore

Directories

Path Synopsis
Package container provides the tools to verify a container artifact using sigstore
Package container provides the tools to verify a container artifact using sigstore

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL