SQ(1)
π SQ-PACKET-DECRYPT π
okay bestie, welcome to sq-packet-decrypt, which is the actual deets-name for the command you probably know as:
sq packet decrypt [OPTIONS] FILE
and yeah this page is pure SQ(1) energy, so buckle up π
β¨ NAME β¨
sq-packet-decrypt β unwrap an encryption container π
like literally, it's the unwrapper. the opener. the "ooh what's inside" of OpenPGP. π
πΈ SYNOPSIS πΈ
sq packet decrypt [OPTIONS] FILE
that's it. that's the whole summoning ritual. β¨
π¦ DESCRIPTION π¦
Unwrap an encryption container. π
So what it does is: it decrypts a message, and it dumps out the content of the encryption container without further processing. That last part is important, bestie β it doesn't go off doing extra stuff to your data behind your back. it just opens the box and hands you what's inside. π
And what's inside? a valid OpenPGP message β¨ which you can, among other things, inspect using sq packet dump. iykyk. that's the whole pipeline: unwrap it here, peek at it there. π
π₯ OPTIONS π₯
π«Ά Subcommand options
--binaryβ emit binary data. raw bytes, no vibes, no formatting, just data.--dump-session-keyβ print the session key tostderr. yep, the actual key, out loud, on stderr, where everyone can see. do with that what you will, bestie π--output=FILEβ write to FILE, or tostdoutif you leave it out.
[default: -]
--recipient-file=KEY_FILEβ decrypt the message using the key sitting in KEY_FILE. this is the "hi yes it's me, let me in" option π--session-key=SESSION-KEYβ decrypt an encrypted message using SESSION-KEY. for when you already have the session key and don't need a whole key file situation. main character energy β¨FILEβ read from FILE, or fromstdinif FILE is'-'.
[default: -]
π Global options
See sq(1) for a description of the global options. (yeah, they live over there, go say hi π)
π EXAMPLES π
Unwrap the encryption revealing the signed message. it's giving "peel the wrapper, find the signature" π
sq packet decrypt --recipient-file bob-secret.pgp message.pgp
that's the move. bob's secret key, message dot pgp, boom. π₯
π SEE ALSO π
For the full documentation see <https://book.sequoia-pgp.org/>. π (go read it, it's iconic)
β VERSION β
1.5.0 β periodt. π
okay so that's the whole page!! π this was Sequoia PGP, version 1.5.0, and honestly? obsessed. go unwrap 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