SQ(1)

πŸ’– SQ-PACKET-ARMOR πŸ’–

okay bestie, welcome to the sq-packet-armor manual page β€” it's part of the Sequoia PGP suite, lives in section 1 of the manual, and honestly? it's giving glow-up. ✨


🌸 NAME 🌸

sq-packet-armor β€” Convert binary to ASCII

like literally, that's the whole job. binary goes in, ASCII comes out. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

sq packet armor [OPTIONS] FILE

πŸ¦‹ DESCRIPTION πŸ¦‹

Convert binary to ASCII. that's it, that's the girl.

so here's the deal, bestie: encrypted data is a whole mess to handle and transport, right? like, raw binary just does not travel well. so OpenPGP data can get transformed into an ASCII representation called ASCII Armor. iconic name, no notes. πŸ›‘οΈ

and here's the slay part β€” sq emits armored data by default already, but this subcommand is the one you call when you've got existing OpenPGP data chillin' in binary and you want it converted to its ASCII-encoded representation. periodt.

the converse operation (the reverse vibe, the uno-reverse card, if you will) is sq packet dearmor. πŸ”„


✨ OPTIONS ✨

πŸ’œ Subcommand options

  • --label=LABEL β€” pick which kind of armor header you want. it's how you tell the armor what it's wearing today, iykyk.
    • default: auto
    • possible values: auto, message, cert, key, sig, file
  • --output=FILE β€” write to FILE, or to stdout if you just... don't say anything. mysterious. we love that.
    • default: -
  • FILE β€” read from FILE, or from stdin if FILE is -. yes, a literal dash. she's shy like that. πŸ™ˆ
    • default: -

🌈 Global options

see sq(1) for a description of the global options. go read the main character's page, bestie. πŸ‘‘


πŸ”₯ EXAMPLES πŸ”₯

convert a binary OpenPGP message to an ASCII armored OpenPGP message. simple. clean. effective.

sq packet armor message.bin

convert a binary OpenPGP message to an ASCII armored OpenPGP message, but this time you're explicitly choosing the armor label. because sometimes you gotta be specific about the outfit. πŸ’…βœ¨

sq packet armor --label=message message.bin

πŸ‘‘ SEE ALSO πŸ‘‘

for the full documentation see <https://book.sequoia-pgp.org/>. 🫢


⭐ VERSION ⭐

1.5.0


and that's the whole page, bestie!! πŸŽ€ this was Sequoia PGP, version 1.5.0 β€” she's a sq(1) user command in the 1.5.0 era β€” and yes, the version number shows up twice because the original said so, and we keep every detail around here, fr fr. now go armor something. slay. πŸ’–πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from