Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yubikey not found on MacOS 10.10 #7

Open
geoaxis opened this issue Apr 2, 2015 · 1 comment
Open

Yubikey not found on MacOS 10.10 #7

geoaxis opened this issue Apr 2, 2015 · 1 comment

Comments

@geoaxis
Copy link

geoaxis commented Apr 2, 2015

I installed using pip. Gui comes fine but it cannot find YubiKey. Yubikey can be found by manager and personalisation tool. I have used the tool to program challenge response and it still does not detect. I used both protected and unprotected modes.
Thanks

@ldrumm
Copy link
Owner

ldrumm commented Apr 3, 2015

Thanks for the report.

Unfortunately I don't have access to a Macintosh, so I don't really have much to go on.
However, as with most installation issues, my hunch here is that this is probably related to raw access permissions for usb devices.

If usb is working fine, the running python2 -c 'import yubico; print(yubico.find_yubikey())'
from a terminal should return something like:

<YubiKeyUSBHID instance at 0x7f6a85ad3a70: YubiKey version 2.4.2>

If instead you get a backtrace with a permissions error, then I don't think there's anything we can do unless Apple provide a way to get raw access these devices. See the bug against python-yubico on which we rely for yubkikey handling. The root cause appears to be that Mac OS X claims the USB as an HID device and won't release it for raw access once claimed.

However, if you don't feel the above applies to you, then let me know the output of the above command and we'll work toward a fix

@ldrumm ldrumm modified the milestone: 0.3 Apr 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants