pallotron / yubiswitch

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

Support all known Product IDs #35

Open indolering opened 9 years ago

indolering commented 9 years ago

App should support product IDs 0x0110-0x0116 by default but allow for an override.

Product IDs:

pallotron commented 9 years ago

this seems like a nice idea, I will look into it.

aculich commented 9 years ago

To get yubiswitch to work with my NEO-n I used:

OTP+U2F+CCID: 0x0116

pallotron commented 9 years ago

Maybe it will help to have a product id map in the README.md until I write universal support? On Thu 3 Sep 2015 at 03:26 Aaron Culich notifications@github.com wrote:

To get yubiswitch to work with my NEO-n https://www.yubico.com/products/yubikey-hardware/yubikey-neo/ I used:

OTP+U2F+CCID: 0x0116

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

aculich commented 9 years ago

Yes, it would be helpful to add that to the README.md.

Also, some instructions to help find the Product ID.

For linux:

$ lsusb | grep Yubikey
Bus 020 Device 022: ID 1050:0116 1050 Yubikey NEO OTP+U2F+CCID

For osx:

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

note: the -x for ioreg is important for displaying the idProduct field in hexadecimal.

or if you have brew installed and prefer lsusb-style output:

$ brew update && brew tap jlhonora/lsusb && brew install lsusb
$ lsusb | grep Yubikey
Bus 020 Device 022: ID 1050:0116 1050 Yubikey NEO OTP+U2F+CCID
pallotron commented 9 years ago

Cool Pull Requests are welcome btw ! On Thu 3 Sep 2015 at 13:40 Aaron Culich notifications@github.com wrote:

Yes, it would be helpful to add that to the README.md.

Also, some instructions to help find the Product ID.

For linux:

$ lsusb | grep Yubikey Bus 020 Device 022: ID 1050:0116 1050 Yubikey NEO OTP+U2F+CCID

For osx:

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

or if you have brew installed and prefer lsusb-style output http://stackoverflow.com/questions/17058134/is-there-an-equivalent-of-lsusb-for-os-x :

$ brew update && brew tap jlhonora/lsusb && brew install lsusb $ lsusb | grep Yubikey Bus 020 Device 022: ID 1050:0116 1050 Yubikey NEO OTP+U2F+CCID

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

pallotron commented 9 years ago

README.md updated.

rozboris commented 7 years ago

One more ProductID that I found for my Yubikey 4 Nano:

Yubikey 4 OTP+U2F:
Product ID: 0x0403
Vendor ID: 0x1050
olegd commented 7 years ago

Yet another variant:

Yubikey 4 OTP+U2F+CCID:
Product ID: 0x0407