Get basic information from a yubikey
ykinfo [-s] [-m] [-H] [-v] [-t] [-p] [-1] [-2] [-q] [-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.
-s
get the serial number and output it.
-m
get the serial number and output it as modhex.
-H
get the serial number and output it as hex.
-v
get the version and output it.
-t
get the touch level and output it.
-p
get the programming sequence and output it.
-1
get the status of slot 1, 1 for programmed and 0 for empty
-2
get the status of slot 2, 1 for programmed and 0 for empty
-a
get all the information above.
-q
modifier, only show the relevant data from the YubiKey, no extra information.
-V
print tool version and exit
Output of all 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 \$2 \(laURL: \$1 \(ra\$3
The
YubiKeys can be obtained from