yubiswitch icon indicating copy to clipboard operation
yubiswitch copied to clipboard

Support all known Product IDs

Open indolering opened this issue 9 years ago • 8 comments

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

Product IDs:

  • OTP: 0x0110
  • OTP+CCID: 0x0111
  • CCID: 0x0112
  • U2F: 0x0113
  • OTP+U2F: 0x0114
  • U2F+CCID: 0x0115
  • OTP+U2F+CCID: 0x0116

indolering avatar Aug 26 '15 01:08 indolering

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

pallotron avatar Aug 26 '15 06:08 pallotron

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

OTP+U2F+CCID: 0x0116

aculich avatar Sep 03 '15 02:09 aculich

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 [email protected] 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 .

pallotron avatar Sep 03 '15 06:09 pallotron

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

aculich avatar Sep 03 '15 12:09 aculich

Cool Pull Requests are welcome btw ! On Thu 3 Sep 2015 at 13:40 Aaron Culich [email protected] 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 avatar Sep 03 '15 12:09 pallotron

README.md updated.

pallotron avatar Sep 03 '15 20:09 pallotron

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

Yubikey 4 OTP+U2F:
Product ID: 0x0403
Vendor ID: 0x1050

rozboris avatar Jan 28 '17 07:01 rozboris

Yet another variant:

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

olegd avatar Jul 12 '17 04:07 olegd