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.