Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUntrustedNamespace = fmt.Errorf("shig: the signature is using an untrusted namespace") ErrUntrustedKey = fmt.Errorf("shig: the signature is using an untrusted key") )
Functions ¶
This section is empty.
Types ¶
type Validator ¶
A Validator is responsible for checking that a given public key is trusted to generate signatures for a given namespace.
func NewGitHubValidator ¶
func NewSshKeyValidator ¶
func NewThumbprintValidator ¶
Click to show internal directories.
Click to hide internal directories.