Yubico / python-yubico

Python code to talk to YubiKeys
https://developers.yubico.com/python-yubico/
BSD 2-Clause "Simplified" License
229 stars 33 forks source link

Don't use non-portable self._usb_handle.detachKernelDriver() #3

Closed jas4711 closed 11 years ago

jas4711 commented 11 years ago

This function is not portable, so it should only be used on unix-like systems which has it. It causes problems on Windows for example, see forum post here:

http://forum.yubico.com/viewtopic.php?f=16&t=956

dainnilsson commented 11 years ago

I've changed the code to ignore failure of this function, which should resolve the issue.