Skip to content

Commit

Permalink
initrd/etc/luks-functions: fix path to wrong luks key for reencrypt call
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Laurion <[email protected]>
  • Loading branch information
tlaurion committed Oct 30, 2024
1 parent 6737206 commit 91b88da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initrd/etc/luks-functions
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ luks_reencrypt() {
--perf-no_read_workqueue --perf-no_write_workqueue \
--resilience=none --force-offline-reencrypt --disable-locks \
"$luks_container" --key-slot "$DRK_KEYSLOT" \
--key-file /tmp/luks_current_Disk_Recovery_Key_passphrase; then
--key-file /tmp/secret/luks_current_Disk_Recovery_Key_passphrase; then
whiptail_error --title "$luks_container: Wrong current LUKS Disk Recovery Key passphrase?" --msgbox \
"If you previously changed it and do not remember it, you will have to\n reinstall the OS from a an external drive.\n\nTo do so, place the ISO file and its signature file on root of an\n external drive, and select Options-> Boot from USB \n\nHit Enter to retry." 0 80

Expand Down

0 comments on commit 91b88da

Please sign in to comment.