signerverifier

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ED25519KeyType  = sslibsv.ED25519KeyType
	ECDSAKeyType    = sslibsv.ECDSAKeyType
	RSAKeyType      = sslibsv.RSAKeyType
	GPGKeyType      = "gpg"
	FulcioKeyType   = "sigstore-oidc"
	FulcioKeyScheme = "fulcio"
	RekorServer     = "https://rekor.sigstore.dev"
)

Variables

This section is empty.

Functions

func NewSignerVerifierFromSecureSystemsLibFormat deprecated

func NewSignerVerifierFromSecureSystemsLibFormat(keyContents []byte) (dsse.SignerVerifier, error)

NewSignerVerifierFromSecureSystemsLibFormat parses the bytes of a public or private key in the legacy sslib encoding format. This will eventually be removed as gittuf switches to standard on-disk key serialization.

Deprecated: This has been added temporarily for support with old on-disk key formats.

func NewSignerVerifierFromTUFKey deprecated

func NewSignerVerifierFromTUFKey(key *tuf.Key) (dsse.SignerVerifier, error)

NewSignerVerifierFromTUFKey returns a verifier for RSA, ED25519, and ECDSA keys. While this is called signerverifier, tuf.Key only supports public keys.

Deprecated: Switch to upstream key loading APIs.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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