ykinfo
Display YubiKey device information
TLDR
Show YubiKey info
SYNOPSIS
ykinfo [-a] [-s] [-v] [-c] [options]
DESCRIPTION
ykinfo queries a connected YubiKey device and displays its identification information. It can report the serial number, firmware version, and supported capabilities of the hardware token.
The -a flag shows all available information at once. Individual flags like -s (serial), -v (version), and -c (capabilities) display specific details. Quiet mode (-q) outputs values without labels for use in scripts.
When multiple YubiKeys are connected, the tool can select a specific device by serial number. It is part of the yubikey-personalization package and is useful for diagnostics, inventory, and scripting around YubiKey management.
PARAMETERS
-a
All information.-s
Serial number.-v
Firmware version.-c
Capabilities.-q
Quiet mode.
CAVEATS
YubiKey required. USB connection. Part of yubikey-personalization.
HISTORY
ykinfo is part of yubikey-personalization, providing information about connected YubiKey devices.
SEE ALSO
ykman(1), ykpersonalize(1), gpg(1)
