Documentation ¶
Index ¶
Constants ¶
View Source
const ( GPGKeyPrefix = "gpg:" FulcioPrefix = "fulcio:" )
Variables ¶
This section is empty.
Functions ¶
func CheckIfSigningViable ¶ added in v0.2.0
CheckIfSigningViable checks if we are able to sign RSL entries given the current environment
func CheckIfSigningViableWithFlag ¶ added in v0.4.0
CheckIfSigningViableWithFlag checks if a signing key was specified via the "signing-key" flag, and then calls CheckIfSigningViable
func LoadPublicKey ¶ added in v0.3.0
LoadPublicKey returns a tuf.Key object for a PGP / Sigstore Fulcio / SSH (on-disk) key for use in gittuf metadata.
func LoadSigner ¶ added in v0.3.0
func LoadSigner(keyBytes []byte) (sslibdsse.SignerVerifier, error)
LoadSigner loads a signer for the specified key bytes. The key must be encoded either in a standard PEM format. For now, the custom securesystemslib format is also supported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.