Cryptsetup - combine metadata about LUKS devices¶
Combine outputs of LuksDump and LuksMeta parsers (with the same UUID) into a single dictionary.
- class insights.combiners.cryptsetup.LuksDevices(luks_dumps, luks_metas)[source]¶
Combiner for LUKS encrypted devices information. It uses the results of the
LuksMetaparser (they are matched based UUID of the device they were collected from).
>>> luks_devices["header"]["Version"] '1' >>> "luksmeta" in luks_devices True >>> "luksmeta" in luks_devices False >>> luks_devices["luksmeta"] Keyslot on index 0 is 'active' with no embedded metadata