From 795e3cca53d302fd987a0523dcdf6a9092ed2f65 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Tue, 26 Aug 2025 16:04:08 -0400 Subject: [PATCH] oem-factory-reset kexec-seal-key typo fixes Signed-off-by: Thierry Laurion --- initrd/bin/kexec-seal-key | 2 +- initrd/bin/oem-factory-reset | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/initrd/bin/kexec-seal-key b/initrd/bin/kexec-seal-key index 558c579b5..823c85468 100755 --- a/initrd/bin/kexec-seal-key +++ b/initrd/bin/kexec-seal-key @@ -70,7 +70,7 @@ for dev in $key_devices ; do while [ $attempts -lt 3 ]; do if [ "$luks_drk_passphrase_valid" == "0" ]; then # Ask for the passphrase only once - read -s -p "Enter LUKS Disk Recovery Key (DRK) passphrase that can unlock: $key_devices: " disk_recovery_key_passphrase + read -s -p "Enter LUKS Disk Recovery Key (DRK) passphrase that can unlock $key_devices: " disk_recovery_key_passphrase #Using he provided passphrase as the DRK "keyfile" for unattended operations echo -n "$disk_recovery_key_passphrase" >"$DISK_RECOVERY_KEY_FILE" echo diff --git a/initrd/bin/oem-factory-reset b/initrd/bin/oem-factory-reset index 48b52d583..70c2f791a 100755 --- a/initrd/bin/oem-factory-reset +++ b/initrd/bin/oem-factory-reset @@ -166,7 +166,7 @@ reset_nk3_secret_app() { else error_code=$? if [ $error_code -eq 3 ] && [ $attempt -lt 3 ]; then - whiptail --msgbox "Nitrokey 3 requires physical presence: touch the dongle when requested" $HEIGHT $WIDTH --title "Nk3 cecrets app reset attempt: $attempt/3" + whiptail --msgbox "Nitrokey 3 requires physical presence: touch the dongle when requested" $HEIGHT $WIDTH --title "Nk3 secrets app reset attempt: $attempt/3" else whiptail_error_die "Nitrokey 3's Secrets app reset failed with error:$error_code. Contact Nitrokey support" fi