sign

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Verify

func Verify(ctx *civ1.BuildContext, target, key string, offline bool) error

Verify validates that a given image has been signed by a given Cosign public key. It returns nil if the image is signed.

func VerifyAny added in v1.4.7

func VerifyAny(ctx *civ1.BuildContext, target, dir string, offline bool) error

VerifyAny validates that any Cosign public key in the given directory has signed a given image. Useful if you have multiple trusted authorities, and you want to prove that your image has been signed by any one of them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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