sq-packet-decrypt1
Unwrap an encryption container
Usage
sq packet
decrypt
[OPTIONS]
FILE
Overview
Unwrap an encryption container.
Decrypts a message, dumping the content of the encryption container without further processing. The result is a valid OpenPGP message that can, among other things, be inspected using `sq packet dump`.
Options
Subcommand options
-
--binary -
Emit binary data
-
--dump-session-key -
Print the session key to stderr
-
--output=FILE -
Write to FILE or stdout if omitted
-
[default:
-]
-
--recipient-file=KEY_FILE -
Decrypt the message using the key in KEY_FILE
-
--session-key=SESSION-KEY -
Decrypt an encrypted message using SESSION-KEY
FILE
|
Read from FILE or stdin if FILE is '-' |
|---|---|
|
[default: |
Global options
See sq(1) for a description of the global options.
Examples
Unwrap the encryption revealing the signed message.
sq packet decrypt --recipient-file bob-secret.pgp message.pgp
Version
1.4.1
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.
--binary since Debian 12 (Bookworm);
--dump-session-key since Debian 12 (Bookworm);
--recipient-file since Debian 13 (Trixie);
--session-key since Debian 12 (Bookworm).
--help until Debian 12 (Bookworm);
--private-key-store until Debian 12 (Bookworm);
--recipient-key until Debian 12 (Bookworm);
-B until Debian 12 (Bookworm);
-h until Debian 12 (Bookworm);
-o until Debian 12 (Bookworm).