verifier

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package verifier provides a client for verifying various types of artifacts against various provenance mechanisms

Index

Constants

View Source
const (
	// ArtifactSignatureSuffix is the suffix for the signature tag
	ArtifactSignatureSuffix = ".sig"
)

Variables

This section is empty.

Functions

func GetSignatureTag

func GetSignatureTag(tags []string) string

GetSignatureTag returns the signature tag for a given image, if exists, otherwise empty string

func NewVerifier

func NewVerifier(verifier Type, verifierURL string, containerAuth ...container.AuthMethod) (verifyif.ArtifactVerifier, error)

NewVerifier creates a new Verifier object

Types

type Type

type Type string

Type represents the type of verifier, i.e., sigstore, slsa, etc.

const (
	// VerifierSigstore is the sigstore verifier
	VerifierSigstore Type = "sigstore"
)

Directories

Path Synopsis
Package sigstore provides a client for verifying artifacts using sigstore
Package sigstore provides a client for verifying artifacts using sigstore
container
Package container provides the tools to verify a container artifact using sigstore
Package container provides the tools to verify a container artifact using sigstore
Package verifyif provides the interface for artifact verifiers, including the Result type
Package verifyif provides the interface for artifact verifiers, including the Result type
mock
Package mock_verifyif is a generated GoMock package.
Package mock_verifyif is a generated GoMock package.

Jump to

Keyboard shortcuts

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