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 (
str
orNone
) – detached encrypted data device orNone
integrity (
str
orNone
) – integrity algorithm (e.g. “hmac-sha256”) orNone
for no integrity supportsector_size (
int
) – encryption sector size, 0 for default (512)pbkdf (
BlockDev.CryptoLUKSPBKDF
orNone
) – key derivation function specification orNone
for default
- Returns:
a new LUKS extra argument
- Return type: