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: 1 for programmed and 0 for empty. Slot one check-in. 1️⃣
  • -2 β€” get the status of slot 2: 1 for programmed and 0 for 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 πŸ«ΆπŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ