Update gui-mac.py

This commit is contained in:
Token2
2025-09-06 19:39:11 +02:00
committed by GitHub
parent ed024567bf
commit 19b3b25c77

View File

@@ -211,7 +211,7 @@ def execute_info_command(device_digit):
messagebox.showerror("Error", "Wrong PIN provided too many times. Reinsert the key") messagebox.showerror("Error", "Wrong PIN provided too many times. Reinsert the key")
return return
if "FIDO_ERR_PIN_REQUIRED" in result.stderr: if ( "FIDO_ERR_PIN_REQUIRED" in result.stderr or "FIDO_ERR_PIN_NOT_SET" in result.stderr):
messagebox.showerror("Error", messagebox.showerror("Error",
"No PIN set for this key. Passkeys can be managed only with a PIN set. " "No PIN set for this key. Passkeys can be managed only with a PIN set. "
"You will be prompted to create a PIN on the next window") "You will be prompted to create a PIN on the next window")