Documentation
¶
Overview ¶
Package selfupdate verifies release checksums. Valid signatures do not prevent replay of older releases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier authenticates checksum bytes against the configured release keys and Sigstore infrastructure.
func New ¶
New loads Sigstore infrastructure trust from TUF, using unexpired cached metadata offline.
func NewVerifier ¶
func NewVerifier(infrastructure root.TrustedMaterial, publicKeys [][]byte) (*Verifier, error)
NewVerifier uses injected infrastructure trust and PEM release keys, ignoring bundle public-key hints.
Click to show internal directories.
Click to hide internal directories.