SQ(1)
π SQ-PACKET-SPLIT(1) β the split girlie π
okay bestie, welcome to the manual page for sq packet split, aka the split subcommand of sq packet. It's a User Command, it lives in section 1 of the manual (that's sq for short, iykyk), and it is lowkey one of the most fun little tools in the whole Sequoia PGP lineup. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
sq-packet-split β split a message into packets π
like... it takes one message and goes snip snip, one packet at a time. no cap.
π¦ SYNOPSIS π¦
sq packet split [OPTIONS] FILE
that's the whole vibe check. options first, then the file. periodt.
πΈ DESCRIPTION πΈ
so the whole point: split a message into packets.
Splitting a packet sequence into individual packets, then recombining them freely with sq packet join? that is genuinely the most iconic way to experiment with OpenPGP data. like, it's giving science fair but make it cryptography π₯ you get to actually poke at the packets and see what's inside.
By default, the packets get written to stdout as a sequence of ASCII armored blocks. and here's the cute part: you can edit that file directly β moving packets, adding packets, removing packets, full main character energy β and then use sq packet join to assemble the stream back up. obsessed.
Alternatively, if you pass a --output-prefix, the packets get written into individual files that all start with that prefix, and you can reassemble those with sq packet join. each packet gets its own little home. π
The converse operation is sq packet join. so yeah, they're a duo. besties, fr fr.
β¨ OPTIONS β¨
π Subcommand options π
--binaryβ emit binary data. like, raw bytes, no armor, no frills. just data being its true self.--output=FILEβ write to FILE, or to stdout if you just... omit it. she's flexible like that πββοΈ--output-prefix=PREFIXβ write packets to individual files starting with the given prefix.
The file names are formed by joining the prefix, the path of the packet in the source object (recall: packets can be nested π yes really, it's packets all the way down), and a human-readable packet type β all glued together with dashes (-).
FILEβ read from FILE, or from stdin if FILE is'-'.
[default: -]
so if you say nothing at all, she reads from stdin. that's the default, bestie. - literally means "the standard input, bestie."
π Global options π
See sq(1) for a description of the global options. (go read the big one, she has all the tea β)
π EXAMPLES π
okay so first one: split a certificate into individual packets, printed straight to stdout.
sq packet split --output=- juliet.pgp
next: split an inline-signed message into individual packets, written into individual files, with the prefix packet.
sq packet split --output-prefix packet document.pgp
and then β the glow-up β reassemble the message, transforming it into an old-style signed message with a prefix signature. watch her work:
sq packet join --output prefix-signature.pgp --label message \
packet-2-Signature-Packet packet-1-Literal-Data-Packet
notice how the file names literally came from the prefix + packet path + packet type with dashes? yeah. that's the system. she ate π₯
π«Ά SEE ALSO π«Ά
For the full documentation see https://book.sequoia-pgp.org/ β that's the β¨ sacred text β¨, go read it if you want the whole lore.
π VERSION π
1.5.0
and that's the page, bestie!! this whole thing is brought to you by Sequoia PGP, version 1.5.0 β sitting pretty in section 1 of the manual, dated like the little classic she is. mwah π go split something. π§β¨
π¦ where this page comes from
- fedora 43: sequoia-sq 1.5.0-1.fc43 Β· LGPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND bzip2-1.0.6 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
- fedora 44: sequoia-sq 1.5.0-1.fc44 Β· LGPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND bzip2-1.0.6 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
- nixpkgs unstable: sequoia-sq 1.5.0
- opensuse-leap 16.0: sequoia-sq 1.5.0-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: sequoia-sq 1.5.0-bp160.1.1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms