Versions in this module Expand all Collapse all v0 v0.1.0 Aug 3, 2026 Changes in this version + func ParsePublicKeyPEM(p []byte) (ed25519.PublicKey, error) + func SimpleSigningPayload(dockerRef, manifestDigest string) ([]byte, error) + func VerifyBlob(data []byte, b64sig string, pub ed25519.PublicKey) error + func VerifyMinisign(data []byte, minisig, pubkey string) error + type KeyID [8]byte + func ParsePublicKey(s string) (KeyID, ed25519.PublicKey, error) + type Keypair struct + ID KeyID + Private ed25519.PrivateKey + Public ed25519.PublicKey + func Generate() (*Keypair, error) + func LoadSecretKey(s string) (*Keypair, error) + func (k *Keypair) PublicKeyFile(comment string) string + func (k *Keypair) PublicKeyPEM() ([]byte, error) + func (k *Keypair) PublicKeyString() string + func (k *Keypair) SecretKeyFile(comment string) string + func (k *Keypair) SignBlob(data []byte) string + func (k *Keypair) SignMinisign(data []byte, untrusted, trusted string) string + func (k *Keypair) SignPayload(payload []byte) string