package
2.0.3
Repository: https://github.com/siderolabs/go-blockdevice.git
Documentation: pkg.go.dev

# Packages

Package luks provides a way to call LUKS2 cryptsetup.
Package token contains token management interfaces.

# Functions

NewKey create a new key.

# Constants

AnyKeyslot tells providers to pick any keyslot.
LUKS2 encryption.
Unknown unecrypted or unsupported encryption.

# Variables

ErrDeviceBusy returned when mapped device is still in use.
ErrDeviceNotReady returned when device is not ready.
ErrEncryptionKeyRejected triggered when encryption key does not match.
ErrTokenNotFound returned when trying to get/delete not existing token.

# Structs

Key represents a single key.
Keyslot represents a single LUKS2 keyslot.
Keyslots represents LUKS2 keyslots metadata.

# Interfaces

Provider represents encryption utility methods.
TokenProvider represents token management methods.