molejar / pyMBoot

Python based library for communication with NXP MCU Bootloader.
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

replace pyusb,pywinusb with fido2's hid abstraction #3

Open conorpp opened 4 years ago

conorpp commented 4 years ago

I'm changing the branch I made this changes on and making a new PR.

I've been having strange problems using libusb for USB HID. I replaced both pyusb and pywinusb with the native USB HID abstractions that are in the fido2 package, and now it seems to work without issue. I'm on MacOS Catalina.

Abstractions are here: https://github.com/Yubico/python-fido2/tree/master/fido2/_pyu2f

molejar commented 4 years ago

Thanks for MacOS support, but now it doesn't work in Linux and in Windows I havent tested yet. I will try to look on it over weekend.