Skip to content

Commit

Permalink
luks-functions: detect non-usb LUKS partitions that can be unlocked w…
Browse files Browse the repository at this point in the history
…ith prompted DRK then ask user to confirm that those are all ok to reencryt/change passphrase onto (oem factory reset/manual, whatever)

- cache/reuse that passphrase, used afterward to find which LUKS keyslot contains the DRK, which is used to direct reencryption, also reused for passphrase change.
- refactoring detection + testing of prompted LUKS passphrase for discovered LUKS containers that can be unlocked with same passphrase to prompt user for selection

TODO: remove duplicate luks passphrase unlocking volumes functions for the moment

Signed-off-by: Thierry Laurion <[email protected]>
  • Loading branch information
tlaurion committed Oct 26, 2024
1 parent b8c3a7a commit 80c3ebe
Showing 1 changed file with 254 additions and 247 deletions.
Loading

0 comments on commit 80c3ebe

Please sign in to comment.