package
0.0.0-20250312152250-ea85ec9d2454
Repository: https://github.com/snapcore/snapd.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
NewProtectorKey creates a new random ProtectorKey.
No description provided by the author
No description provided by the author
# Constants
The auxiliary key is used to bind keys to models.
The encryption key size is set so it has the same entropy as the derived key.
XXX: needs to be in sync with github.com/snapcore/secboot/crypto.go:"type RecoveryKey" Size of the recovery key.
# Interfaces
KeyDataWriter is a the same as KeyDataWriter from github.com/canonical/secboot.
# Type aliases
AuxKey is the key to bind models to keys.
EncryptionKey is the key used to encrypt the data partition.
ProtectorKey is a key that can be used to protect "plainkey" keys.
RecoveryKey is a key used to unlock the encrypted partition when the encryption key can't be used, for example when unseal fails.