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