Get basic information from a YubiKey.
Display all information from YubiKey
Get only serial in decimal from YubiKey
Get capabilities from YubiKey
ykinfo [-s] [-m] [-nkey] [-H] [-v] [-t] [-p] [-1] [-2] [-q] [-a] [-c] [-V] [-h]
Get basic information from a YubiKey. Can get serial number, version and current touch level. Can get all parameters at once or one at a time. If -q is given only the relevant string from the YubiKey is written to screen.
get the serial number and output it.
get the serial number and output it as modhex.
read from the nth key found.
get the serial number and output it as hex.
get the version and output it.
get the touch level and output it.
get the programming sequence and output it.
get the status of slot 1, 1 for programmed and 0 for empty.
get the status of slot 2, 1 for programmed and 0 for empty.
get all the information above.
get YubiKey capability information.
modifier, only show the relevant data from the YubiKey, no extra information.
print tool version and exit
Output information from a YubiKey:
$ ykinfo -s -m -H -v -t -p serial: 1077254 serial_hex: 107006 serial_modhex: bcicch version: 2.2.3 touch_level: 1793 programming_sequence: 1 $
Report ykinfo bugs in the issue tracker https://github.com/Yubico/yubikey-personalization/issues
The ykpersonalize home page https://developers.yubico.com/yubikey-personalization/ YubiKeys can be obtained from Yubico http://www.yubico.com/