Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSignatureNotValid = fmt.Errorf("the provided signature could not be verified against any key")
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Verify(ctx context.Context, releaseDigest, location string, signature []byte) error Sign(releaseDigest, pullSpec string) ([]byte, error) }
Interface performs signing and verification of the provided content. The default implementation in this package uses the container signature format defined at https://github.com/containers/image to authenticate that a given release image digest has been signed by a trusted party.
func NewFromKeyring ¶
Click to show internal directories.
Click to hide internal directories.