Serial number of the device #754
-
Hi, I would like to know if I can get the Serial number of any Yubikey using this library. I have explored other language's Sdk but I didn't find anything. Please let me know if anyone has an idea on this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, The CTAP specification has no notion of a device serial number, so libfido2 does not implement any such methods. Generally speaking, you should not need a serial number to interface with a FIDO authenticator. Since you have not explained why you need to retrieve the serial number, suggesting a solution is difficult. That said, for a YubiKey-specific solution, you can have a look at how e.g. yubikey-manager does it. |
Beta Was this translation helpful? Give feedback.
Hi,
The CTAP specification has no notion of a device serial number, so libfido2 does not implement any such methods. Generally speaking, you should not need a serial number to interface with a FIDO authenticator. Since you have not explained why you need to retrieve the serial number, suggesting a solution is difficult. That said, for a YubiKey-specific solution, you can have a look at how e.g. yubikey-manager does it.