pallotron / yubiswitch

OSX status bar application to enable/disable Yubikey Nano
Other
872 stars 65 forks source link

YubiKey doesn't disable #45

Closed kennetham closed 8 years ago

kennetham commented 8 years ago

After enabling YubiKey, disabling it doesn't take effect.

'Lock computer after YubiKey is removed' doesn't take effect either.

remmelt commented 8 years ago

Same here

ioreg -p IOUSB -l -w 0 -x | grep Yubikey -A10 | grep Product
    |     "idProduct" = 0x407
    |     "iProduct" = 0x2
    |     "USB Product Name" = "Yubikey 4 OTP+U2F+CCID"

Which values should go in which fields?

pallotron commented 8 years ago

image

in the preference window, as per screenshot above.

remmelt commented 8 years ago

I understand where to put the IDs, but it still doesn't work.


On Sun, Dec 6, 2015 at 1:32 PM, Angelo Failla notifications@github.com wrote:

image

in the preference window, as per screenshot above.

Reply to this email directly or view it on GitHub: https://github.com/pallotron/yubiswitch/issues/45#issuecomment-162310395

pallotron commented 8 years ago

I have no idea, it works for other people with different product/vendor IDS. patches are welcome :) Have you tried to quit and restart the application when you change the settings? How am I supposed to troubleshoot w/o logs? Do you see anything fancy in /var/log/system.log related to yubiswitch?

MartinRogalla commented 8 years ago

Didn't work for me earlier. Restarted yubiswitch after specifying the productid, now works. Thanks, this is great! :)

ndynan commented 8 years ago

Had the same issue – you need to set the productid in preferences

Run in terminal and get the product ID: $ ioreg -p IOUSB -l -w 0 -x | grep Yubikey -A10 | grep Product

Run the following to get the VendorID $ ioreg -p IOUSB -l -w 0 -x | grep Yubikey -A10 | grep Vendor