package
0.0.0-20240723192418-397b19c8a77e
Repository: https://github.com/snapcore/secboot.git
Documentation: pkg.go.dev

# Functions

MockOrphanedToken returns a new orphaned named token with the supplied type and name, which is useful for testing.
NewView creates a new View from the LUKS2 container at the specified path, using the specified locking mode.
NewViewFromCustomHeaderSource creates a new View from the LUKS2 header obtained from the supplied source.

# Constants

No description provided by the author
No description provided by the author

# Structs

KeyDataToken represents a token with the "ubuntu-fde" type, associated with a platform protected keyslot.
RecoveryToken represents a token with the type "ubuntu-fde-recovery", associated with a recovery keyslot.
TokenBase provides the fields that are common to all tokens created by secboot.
View provides a read-only view of a LUKS2 header in a way that is useful to secboot.

# Interfaces

HeaderSource provides a mechanism to read a LUKS2 header repeatedly.
NamedToken corresponds to a token created by secboot, which identifies the associated keyslot with a name and may contain data required to activate a volume using the associated keyslot.