Open jacobian opened 10 years ago
This is a known issue with libusb on OSX: http://www.libusb.org/ticket/89 Until this is fixed I don't think there is anything we can do about it, unfortunately.
Any idea on how to implement a workaround using HIDAPI as suggested in the linked thread? Doesn't look like the devs will fix it.
As the "Yubikey Personalization Tool" is working on OSX, there must be some kind of workaround. Any chance this python module gets adapted accordingly?
Or someone is able to have a look into HIDAPI, as suggested in the thread posted above?
Thanks!
YubiKey Personalization Tool doesn't use libusb on OSX, and thus is not affected by this issue. Adding a HIDAPI backend using https://pypi.python.org/pypi/hidapi is probably doable, but would require some effort. Contributions in this area are welcome!
Updating this with a current link to why this still doesn't work (www.libusb.org doesn't respond for me): https://github.com/pyusb/pyusb/issues/208
Has there been an attempt to use this library instead? https://github.com/libusb/libusb Or does it need to have a BSD license?
Is there another programming language that has better MacOS support from Yubico?
I also get the same usb.core.USBError: [Errno 13] Access denied (insufficient permissions)
on Ubuntu 20.04 when calling find_yubikey
This is on OS X 10.9 ("Mavericks"), which I believe is important (I've found a few issues related to libusb on 10.9 that sound similar)
I'm running libusb-1.0.18 installed from Homebrew, PyUSB 1.0.0b1 installed from PyPI, and python-yubico 1.2. also installed from PyPI.