Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions archinstall/lib/disk/fido.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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')