verify_v1

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyKeyless

func VerifyKeyless(h *cap.Host, image string, keyless []oci.KeylessInfo, annotations map[string]string) (oci.VerificationResponse, error)

VerifyKeyless verifies sigstore signatures of an image using keyless signing Arguments * image: image to be verified (e.g.: `registry.testing.lan/busybox:1.0.0`) * keyless: list of KeylessInfo pairs, containing Issuer and Subject info from OIDC providers * annotations: annotations that must have been provided by all signers when they signed the OCI artifact

func VerifyPubKeys

func VerifyPubKeys(h *cap.Host, image string, pubKeys []string, annotations map[string]string) (oci.VerificationResponse, error)

VerifyPubKeys verifies sigstore signatures of an image using public keys Arguments * image: image to be verified (e.g.: `registry.testing.lan/busybox:1.0.0`) * pubKeys: list of PEM encoded keys that must have been used to sign the OCI object * annotations: annotations that must have been provided by all signers when they signed the OCI artifact

Types

This section is empty.

Jump to

Keyboard shortcuts

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