keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.07k stars 1.42k forks source link

Verify USB listener callback handle #10872

Closed sizeofvoid closed 2 weeks ago

sizeofvoid commented 4 weeks ago

Do not use handle if libusb_hotplug_register_callback fails

On OpenBSD USB listener callback fails. When this happens, opening and closing a DB takes a very long time. Maybe through handleUsbEvents()

Testing strategy

Test wit yubikey on OpenBSD -current

Type of change