I just got a new YubiKey Nano 5C, and the setup process wasn't working for me because I couldn't find the Product ID and Vendor ID. I traced it to a case sensitivity issue with grep.
Here is the YubiKey output of lsusb:
Bus 020 Device 001: ID 1050:0407 1050 YubiKey OTP+FIDO+CCID
Note the upper case "K" in YubiKey.
Similar with ioreg -p IOUSB -l -w 0 -x
"USB Product Name" = "YubiKey OTP+FIDO+CCID"
Looking at the Yubico website, the product name is actually YubiKey with a capital K.
I've made the grep command case-insensitive in the setup instructions so that both Yubikey and YubiKey are found. -i ignores case in both GNU grep and grep included in macOS.
I just got a new YubiKey Nano 5C, and the setup process wasn't working for me because I couldn't find the Product ID and Vendor ID. I traced it to a case sensitivity issue with
grep
.Here is the YubiKey output of
lsusb
:Note the upper case "K" in YubiKey.
Similar with
ioreg -p IOUSB -l -w 0 -x
Looking at the Yubico website, the product name is actually YubiKey with a capital K.
I've made the
grep
command case-insensitive in the setup instructions so that bothYubikey
andYubiKey
are found.-i
ignores case in both GNU grep and grep included in macOS.