ykinfo(1)

NAME
ykinfo - Get basic information from a YubiKey

SYNOPSIS
ykinfo [-s] [-m] [-H] [-v] [-t] [-p] [-1] [-2] [-q] [-V] [-h]

DESCRIPTION

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.

OPTIONS

-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

EXAMPLE
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
$

BUGS
Report ykinfo bugs in

SEE ALSO
The

YubiKeys can be obtained from