From 1def4e7361a48cefdc83dfe378e43a2a9f6f561b Mon Sep 17 00:00:00 2001 From: "Mariya T." <235426764+sigreturn@users.noreply.github.com> Date: Sat, 20 Dec 2025 21:51:24 -0500 Subject: [PATCH] fix: fix fido warning message being spammed --- archinstall/lib/disk/fido.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/disk/fido.py b/archinstall/lib/disk/fido.py index 4cd633f7ca..d2261141d8 100644 --- a/archinstall/lib/disk/fido.py +++ b/archinstall/lib/disk/fido.py @@ -112,6 +112,8 @@ def fido2_enroll( pw_inputted = False pin_inputted = False + info('You might need to touch the FIDO2 device to unlock it if no prompt comes up after 3 seconds') + while worker.is_alive(): if pw_inputted is False: if bytes(f'please enter current passphrase for disk {dev_path}', 'UTF-8') in worker._trace_log.lower(): @@ -121,5 +123,3 @@ def fido2_enroll( if bytes('please enter security token pin', 'UTF-8') in worker._trace_log.lower(): worker.write(bytes(getpass.getpass(' '), 'UTF-8')) pin_inputted = True - - info('You might need to touch the FIDO2 device to unlock it if no prompt comes up after 3 seconds')