pbatard / libwdi

Windows Driver Installer library for USB devices
GNU General Public License v3.0
1.87k stars 465 forks source link

Issues with Yubikey #327

Closed kaincenteno closed 3 months ago

kaincenteno commented 3 months ago

Yubikeys stop working/being detected by the yubikey manager app if not using the HID-compliant fido driver.

pbatard commented 3 months ago

I'm tempted to say "Well, duh!"

If you use Zadig/libwdi to replace the HID driver, then any application that relies on the HID driver to communicate with the device will be unable to do so.

Drivers are NOT interchangeable, meaning that you can not expect WinUSB or the other drivers that libwdi/Zadig install to provide the same APIs for communicating with the device. The end result is that you must use an application that was tailored to use the specific driver that you have installed. And it's (mostly) an exclusive or, meaning that you cannot use 2 drivers at once (such as both HID and WinUSB at the same time).

In short, if you want to continue using the yubikey manager app then you should not replace the driver.