cosignutil

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignCosign

func SignCosign(rawRef string, keyRef string) error

SignCosign signs an image(`rawRef`) using a cosign private key (`keyRef`)

func VerifyCosign

func VerifyCosign(ctx context.Context, rawRef string, keyRef string, hostsDirs []string) (string, error)

VerifyCosign verifies an image(`rawRef`) with a cosign public key(`keyRef`) `hostsDirs` are used to resolve image `rawRef`

Types

This section is empty.

Jump to

Keyboard shortcuts

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