CBORDUMP(1)

πŸ“¦
version 7.0 Β· 3 versions
, in ubuntu stonking

πŸ’– CBORDUMP(1) πŸ’–

okay bestie, welcome to the cbordump page, from the User Commands corner of the manual πŸ’… this one's a lil utility from the tinycbor Concise Binary Object Representation (CBOR) library, and she's here to make your binary blobs make sense πŸ¦‹


✨ NAME ✨

cbordump β€” tinycbor Concise Binary Object Representation (CBOR) library

like. that's her. that's the whole name. short, sweet, iconic πŸ‘‘


🌸 SYNOPSIS 🌸

cbordump [OPTION]... [FILE]...

yep that's it, options then files, no drama, no cap πŸŽ€


🧚 DESCRIPTION 🧚

So here's the vibe: cbordump takes your *FILE*s, interprets them as CBOR binary data, and dumps all that content straight to stdout. that's the whole job. she reads binary, she tells you what's inside. main character energy fr fr πŸ’–


πŸ’… OPTIONS πŸ’…

the general girlies first:

  • -c β€” print a CBOR dump (see RFC 7049). this is the default behavior, so if you don't ask for anything else, this is what you get ✨
  • -j β€” print a JSON equivalent version instead. switching lanes, switching formats πŸ’«
  • -h β€” print this help output and exit. the classic "what do I do" button, we love her 🫢

🌈 When JSON output is active, the following options are recognized:

  • -M β€” add metadata so converting back to CBOR is possible. it's giving round-trip, it's giving reversible, obsessed 😌
  • -O β€” convert CBOR tags to JSON objects.
  • -S β€” stringify non-text string map keys. (yes, keys that aren't text strings get turned into strings, because JSON said so)
  • -U β€” convert all CBOR byte strings to Base64url regardless of tags. no exceptions, no mercy, all of them πŸ’€

🌸 When CBOR dump is active, the following options are recognized:

  • -f β€” show text and byte string fragments. the little pieces, the receipts, the details πŸ”
  • -n β€” show overlong encoding of CBOR numbers and length. yes bestie, sometimes encodings are longer than they needed to be and this one will point at them πŸ™ˆ

⭐ quick reminder: the -M, -O, -S and -U girlies only show up when you asked for JSON output (-j), and -f + -n only show up when you're in CBOR dump mode (-c, which again, is the default). iykyk πŸ’œ

aaand that's the whole page, bestie!! πŸŽ€ this was cbordump version 7.0, dated February 2026, straight outta the User Commands section of the manual ✨ go dump some CBOR, you're gonna slay πŸ’–πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from