YB-LIST(1)

πŸ“¦ version 0.5.2, in nixos 26.05, nixpkgs unstable

🌸 NAME: list β€” List blobs (alias: ls) 🌸

okay so bestie, this is the YB-LIST(1) page from the User Commands section. It's literally about list, and yeah, it has a cute alias: ls. We're listing blobs here. Slay. πŸ’…

✨ SYNOPSIS ✨

list [-l|--long] [-1 ] [-t|--sort-time] [-r|--reverse] [-h|--help]
[PATTERN]

πŸ’– DESCRIPTION πŸ’–

So what does it do? It lists the names of all the blobs currently stored on the YubiKey. Iconic. You can optionally pass a glob pattern to filter the output β€” vibe check for blob names, basically. ✨

Default output? One name per line, which is perfect for scripting. --long adds an encryption flag, chunk count, modification time, and plaintext size. The way that's useful? Obsessed. 🫢

Every blob's ECDSA signature is verified automatically β€” no PIN required. If a blob is CORRUPTED, the word CORRUPTED is appended to its output line and yb list exits with status 1. Unverified blobs (older yb0/yb1 format without a signature trailer) are listed normally. No cap. πŸ’€

πŸŽ€ OPTIONS πŸŽ€

  • -l, --long β€” Long format: flag, chunks, date, size, name. It's giving detail overload, in the best way. πŸ’–
  • -1 β€” One name per line (default; explicit flag for scripting). Lowkey just here so your scripts can be extra clear. ✨
  • -t, --sort-time β€” Sort by modification time, newest first. Fresh blobs first, periodt. πŸ”₯
  • -r, --reverse β€” Reverse the sort order. Flip it, reverse it, slay. πŸ¦‹
  • -h, --help β€” Print help. Your little emergency bestie. 🫢
  • [PATTERN] β€” Glob pattern to filter blob names (default: all). Pick your faves. 🌈

πŸ¦‹ LONG FORMAT πŸ¦‹

In long format, each line contains these fields, in this order:

  • Flag β€” - for an encrypted blob, P for a plaintext (unencrypted) blob.
  • Chunks β€” Number of PIV objects consumed by this blob.
  • Date β€” Modification time (month, day, time for recent blobs; year for older).
  • Size β€” Plaintext size in bytes.
  • Name β€” Blob name, followed by CORRUPTED if signature verification failed. Names containing characters outside the portable set a-z A-Z 0-9 . - _ + , / : are wrapped in POSIX single quotes so the marker is never ambiguous.
okay so that last bit matters: if a name has characters outside that portable set, it gets wrapped in POSIX single quotes so CORRUPTED can never be ambiguous. Cute and rigorous. πŸ’…

🌈 EXAMPLES 🌈

List all blobs:

yb list

Long listing, newest first:

yb list -l -t

Filter by glob:

yb list '*.key'

Alert on corruption (for scripts):

yb list || echo "WARNING: store corruption detected" >&2

πŸ‘‘ SEE ALSO πŸ‘‘

yb(1), yb-fsck(1), yb-fetch(1), yb-remove(1) β€” go read those too, bestie. πŸ“š


okay that's literally the whole page! source/version: yb Β· date: 2026-03 Β· manual: YB-LIST(1) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from