dissect.target.volumes.luks
#
Module Contents#
Classes#
An extension of the |
Attributes#
- dissect.target.volumes.luks.log#
- exception dissect.target.volumes.luks.LUKSVolumeSystemError(message=None, cause=None, extra=None)#
Bases:
dissect.target.exceptions.VolumeSystemError
A volume system error occurred.
- class dissect.target.volumes.luks.LUKSVolumeSystem(fh: BinaryIO | list[BinaryIO], *args, **kwargs)#
Bases:
dissect.target.volume.EncryptedVolumeSystem
An extension of the
VolumeSystem
class that provides additional functionality for dealing with encryption.It adds helper functions for interacting with the
KEYCHAIN
, so that subclasses don’t have to manually interact with it.- Parameters:
fh – The file-like object on which to open the encrypted volume system.
- __type__ = 'luks'#
- unlock_with_volume_encryption_key(key: bytes, keyslot: int | None = None, is_wildcard: bool = False) None #
- unlock_with_passphrase(passphrase: str, keyslot: int | None = None, is_wildcard: bool = False) None #
- unlock_with_key_file(key_file: pathlib.Path, keyslot: int | None = None, is_wildcard: bool = False) None #
- unlock_volume() dissect.util.stream.AlignedStream #