Skip to content

Commit 440288e

Browse files
authored
Merge pull request #1994 from tlaurion/typos_fix
oem-factory-reset kexec-seal-key typo fixes
2 parents 652eff3 + 795e3cc commit 440288e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

initrd/bin/kexec-seal-key

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ for dev in $key_devices ; do
7070
while [ $attempts -lt 3 ]; do
7171
if [ "$luks_drk_passphrase_valid" == "0" ]; then
7272
# Ask for the passphrase only once
73-
read -s -p "Enter LUKS Disk Recovery Key (DRK) passphrase that can unlock: $key_devices: " disk_recovery_key_passphrase
73+
read -s -p "Enter LUKS Disk Recovery Key (DRK) passphrase that can unlock $key_devices: " disk_recovery_key_passphrase
7474
#Using he provided passphrase as the DRK "keyfile" for unattended operations
7575
echo -n "$disk_recovery_key_passphrase" >"$DISK_RECOVERY_KEY_FILE"
7676
echo

initrd/bin/oem-factory-reset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ reset_nk3_secret_app() {
166166
else
167167
error_code=$?
168168
if [ $error_code -eq 3 ] && [ $attempt -lt 3 ]; then
169-
whiptail --msgbox "Nitrokey 3 requires physical presence: touch the dongle when requested" $HEIGHT $WIDTH --title "Nk3 cecrets app reset attempt: $attempt/3"
169+
whiptail --msgbox "Nitrokey 3 requires physical presence: touch the dongle when requested" $HEIGHT $WIDTH --title "Nk3 secrets app reset attempt: $attempt/3"
170170
else
171171
whiptail_error_die "Nitrokey 3's Secrets app reset failed with error:$error_code. Contact Nitrokey support"
172172
fi

0 commit comments

Comments
 (0)