mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-17 13:02:49 -05:00
Improve YubiKey/OnlyKey detection with more than 2 keys
Add a small delay between key polling to let the hardware interface settle. Prevents invalid serial numbers from being pulled messing up the KeePassXC workflow.
This commit is contained in:
parent
639a7f91a4
commit
cbf7759e7c
@ -203,6 +203,8 @@ void YubiKey::findValidKeys()
|
|||||||
|
|
||||||
ykds_free(st);
|
ykds_free(st);
|
||||||
closeKey(yk_key);
|
closeKey(yk_key);
|
||||||
|
|
||||||
|
Tools::wait(100);
|
||||||
} else {
|
} else {
|
||||||
// No more keys are connected
|
// No more keys are connected
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user