tuf

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SigstorePublicGoodBaseURL = "https://tuf-repo-cdn.sigstore.dev"

Variables

This section is empty.

Functions

func Defaultfetcher

func Defaultfetcher() fetcher.Fetcher

Defaultfetcher returns a default TUF fetcher configured with the bind UA

func GetClient

func GetClient(opts *TufOptions) (*tuf.Client, error)

GetClient returns a TUF client configured with the options

func GetRoot

func GetRoot(opts *TufOptions) ([]byte, error)

GetRoot fetches the trusted root from the configured URL or from the sigstore public instance.

Types

type TufOptions

type TufOptions struct {
	Fetcher     fetcher.Fetcher
	TufRootPath string
	TufRootURL  string
}

TufOptions captures the TUF options handled by bind

Jump to

Keyboard shortcuts

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