BlockDev.CryptoLUKSExtra¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
data_alignment |
r/w |
data alignment in sectors, 0 for default/auto detection |
|
data_device |
r/w |
detached encrypted data device or |
|
integrity |
r/w |
integrity algorithm (e.g. “hmac-sha256”) or |
|
label |
r/w |
LUKS header label or |
|
pbkdf |
r/w |
key derivation function specification or |
|
sector_size |
r/w |
encryption sector size, 0 for default (512) Note: this field is valid only for LUKS 2 |
|
subsystem |
r/w |
LUKS header subsystem or |
Methods¶
class |
|
Details¶
- class BlockDev.CryptoLUKSExtra¶
- classmethod new(data_alignment, data_device, integrity, sector_size, label, subsystem, pbkdf)¶
- Parameters:
data_alignment (
int) – data alignment in sectors, 0 for default/auto detectiondata_device (
strorNone) – detached encrypted data device orNoneintegrity (
strorNone) – integrity algorithm (e.g. “hmac-sha256”) orNonefor no integrity supportsector_size (
int) – encryption sector size, 0 for default (512)pbkdf (
BlockDev.CryptoLUKSPBKDForNone) – key derivation function specification orNonefor default
- Returns:
a new LUKS extra argument
- Return type: