Skip to content

Commit 66829e9

Browse files
committed
WiP: staging changes
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
1 parent 4199bd8 commit 66829e9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

initrd/bin/kexec-seal-key

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ done
9797

9898
attempts=0
9999
while [ $attempts -lt 3 ]; do
100-
read -s -p "New LUKS TPM Disk Unlock Key passphrase (DUK) for booting: " key_password
100+
read -s -p "New LUKS TPM Disk Unlock Key (DUK) passphrase for booting: " key_password
101101
echo
102102
read -s -p "Repeat LUKS TPM Disk Unlock Key (DUK) passphrase for booting: " key_password2
103103
echo
104104
if [ "$key_password" != "$key_password2" ]; then
105105
attempts=$((attempts + 1))
106106
if [ "$attempts" == "3" ]; then
107-
die "Disk Unlock Key passphrases do not match. Exiting..."
107+
die "Disk Unlock Key (DUK) passphrases do not match. Exiting..."
108108
else
109-
warn "Disk Unlock Key passphrases do not match. Please try again."
109+
warn "Disk Unlock Key (DUK) passphrases do not match. Please try again."
110110
fi
111111
else
112112
break
@@ -168,7 +168,7 @@ for dev in $key_devices; do
168168
die "$dev: Unable to find a key slot that can be unlocked with provided passphrase. Exiting..."
169169
fi
170170

171-
# If the key slot is not the expected DUK o FRK key slot, we will ask the user to confirm the wipe
171+
# If the key slot is not the expected DUK or DRK key slot, we will ask the user to confirm the wipe
172172
for keyslot in "${luks_used_keyslots[@]}"; do
173173
if [ "$keyslot" != "$drk_key_slot" ]; then
174174
#set wipe_desired to no by default

0 commit comments

Comments
 (0)