YB-LIST(1)
πΈ 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,Pfor 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
CORRUPTEDif signature verification failed. Names containing characters outside the portable seta-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
- nixos 26.05: yb 0.4.2
- nixpkgs unstable: yb 0.5.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms