dissect.fve.luks.metadata
¶
Module Contents¶
Classes¶
- class dissect.fve.luks.metadata.JsonItem¶
- class dissect.fve.luks.metadata.Config¶
Bases:
JsonItem
- json_size: int¶
- keyslots_size: int | None¶
- flags: list[str] | None¶
- requirements: list[str] | None¶
- class dissect.fve.luks.metadata.KeyslotArea¶
Bases:
JsonItem
- type: str¶
- offset: int¶
- size: int¶
- encryption: str | None¶
- key_size: int | None¶
- hash: str | None¶
- sector_size: int | None¶
- shift_size: int | None¶
- class dissect.fve.luks.metadata.KeyslotKdf¶
Bases:
JsonItem
- type: str¶
- hash: str | None¶
- iterations: int | None¶
- time: int | None¶
- memory: int | None¶
- cpus: int | None¶
- class dissect.fve.luks.metadata.KeyslotAf¶
Bases:
JsonItem
- type: str¶
- stripes: int | None¶
- hash: str | None¶
- class dissect.fve.luks.metadata.Keyslot¶
Bases:
JsonItem
- type: str¶
- key_size: int¶
- area: KeyslotArea¶
- priority: int | None¶
- kdf: KeyslotKdf | None¶
- mode: str | None¶
- direction: str | None¶
- class dissect.fve.luks.metadata.Digest¶
Bases:
JsonItem
- type: str¶
- keyslots: list[int]¶
- segments: list[int]¶
- hash: str | None¶
- iterations: int | None¶
- class dissect.fve.luks.metadata.SegmentIntegrity¶
Bases:
JsonItem
- type: str¶
- journal_encryption: str¶
- journal_integrity: str¶
- class dissect.fve.luks.metadata.Segment¶
Bases:
JsonItem
- type: str¶
- offset: int¶
- size: int | str¶
- flags: list[str] | None¶
- iv_tweak: int | None¶
- encryption: str | None¶
- sector_size: int | None¶
- integrity: SegmentIntegrity | None¶