Help us shape the future of Go! Take the 2026 Go Developer Survey

attest

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Issuer       = "https://token.actions.githubusercontent.com"
	ProvenanceV1 = "https://slsa.dev/provenance/v1"
)
View Source
const (
	RootEnv = "SLICC_SIGSTORE_TRUSTED_ROOT"
)

Variables

This section is empty.

Functions

func Verify

func Verify(bundleJSON []byte, digest string, id Identity, root *TrustedRoot) error

Types

type Error

type Error struct {
	Step string
	Msg  string
}

func (*Error) Error

func (e *Error) Error() string

type Identity

type Identity struct {
	Repo string
	Ref  string
}

func (Identity) SAN

func (id Identity) SAN() string

type TrustedRoot

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

func DefaultRoot

func DefaultRoot() (*TrustedRoot, error)

func ParseTrustedRoot

func ParseTrustedRoot(b []byte) (*TrustedRoot, error)

Jump to

Keyboard shortcuts

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