package
0.0.0-20250312152250-ea85ec9d2454
Repository: https://github.com/snapcore/snapd.git
Documentation: pkg.go.dev

# Functions

GenerateKey generates a private RSA key using the provided keypairMgr.
GetKeypairManager returns a KeypairManager - either the standrd gpg-based or external one if set via SNAPD_EXT_KEYMGR environment variable.
Sign produces the text of a signed assertion as specified by opts.

# Variables

No description provided by the author

# Structs

Options specifies the complete input for signing an assertion.

# Interfaces

KeypairManager is an interface for common methods of ExternalKeypairManager and GPGPKeypairManager.