YKINFO(1)
π YKINFO(1) β like, the ykinfo manual page, bestie π
YubiKey Personalization Tool M energy, but make it a group chat. This is the ykinfo page, and she's here to spill YubiKey tea. π«β¨
πΈ NAME πΈ
ykinfo β get basic information from a YubiKey. That's it, that's the job. She's nosy but in a helpful way. π
β¨ SYNOPSIS β¨
ykinfo [-s] [-m] [-nkey] [-H] [-v] [-t] [-p] [-1] [-2] [-q] [-a] [-c]
[-V] [-h]
π¦ DESCRIPTION π¦
Okay so ykinfo gets basic information from a YubiKey. We're talking serial number, version, and the current touch level β the holy trinity of "who is this little key and what is she going through." π
You can grab all the parameters at once or one at a time, your call, no pressure, we support both lifestyles.
And here's the thing β if you pass -q, then only the relevant string from the YubiKey gets written to screen. No extra commentary, no vibes, just the raw data. Lowkey iconic of her. π
π OPTIONS π
-sβ get the serial number and output it. The classic. The main character. π-mβ get the serial number and output it as modhex. Fancy formatting unlocked. β¨-nkeyβ read from the *n*th key found. Got multiple keys plugged in? Bestie, you gotta specify which one you're talking to. π«Ά-Hβ get the serial number and output it as hex. For the hex girlies. π-vβ get the version and output it. Know your firmware, fr fr. π-tβ get the touch level and output it. How touchy is she feeling today? π«³-pβ get the programming sequence and output it. π’-1β get the status of slot 1:1for programmed and0for empty. Slot one check-in. 1οΈβ£-2β get the status of slot 2:1for programmed and0for empty. Slot two, same deal. 2οΈβ£-aβ get all the information above. Everything, everywhere, all at once. π-cβ get YubiKey capability information. What can she do, though? πͺ-qβ modifier: only show the relevant data from the YubiKey, no extra information. Quiet mode, no small talk. π€«-Vβ print tool version and exit. Bye bestie, love u. π-hβ (she's in the synopsis, she's part of the family π₯°)
π EXAMPLE π
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
$
Look at her go. Six flags, six lines of pure data, and a prompt at the end like nothing happened. Ate. π
π BUGS π
Found a bug? Not me finding a bug π. Report ykinfo bugs in the issue tracker:
https://github.com/Yubico/yubikey-personalization/issues
π SEE ALSO π
The ykpersonalize home page:
https://developers.yubico.com/yubikey-personalization/
YubiKeys can be obtained from Yubico:
http://www.yubico.com/
Okay that's the whole page, you're officially informed. This was ykinfo, Version 1.19.1, living under the YKINFO(1) manual-page name, and she slayed every single one of those options. Go get ur serial number bestie, ily, mwah π«Άπβ¨ππ¦πΈ
π¦ where this page comes from
- alpine 3.24: ykpers-doc 1.20.0-r2 Β· BSD-2-Clause
- arch rolling: yubikey-personalization 1.20.0-5 Β· BSD
- debian bookworm: yubikey-personalization 1.20.0-3 Β· BSD-2-Clause
- debian trixie: yubikey-personalization 1.20.0-5 Β· BSD-2-Clause
- epel 10: ykpers 1.20.0-15.el10_1 Β· LicenseRef-Callaway-BSD
- epel 9: ykpers 1.20.0-9.el9 Β· BSD
- fedora 43: ykpers 1.20.0-17.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: ykpers 1.20.0-17.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ykpers 1.20.0-18.fc44 Β· LicenseRef-Callaway-BSD
- fedora 44: ykpers 1.20.0-18.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: yubikey-personalization 1.20.0
- nixpkgs unstable: yubikey-personalization 1.20.0
- ubuntu jammy: yubikey-personalization 1.20.0-3 Β· BSD-2-Clause
- ubuntu noble: yubikey-personalization 1.20.0-3build1 Β· BSD-2-Clause
- ubuntu questing: yubikey-personalization 1.20.0-6
- ubuntu resolute: yubikey-personalization 1.20.0-7 Β· BSD-2-Clause
- ubuntu stonking: yubikey-personalization 1.20.0-7 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms