sq-packet-decrypt - Man Page
Unwrap an encryption container
Synopsis
sq packet decrypt [Options] FILE
Description
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
See Also
For the full documentation see <https://book.sequoia-pgp.org>.
Version
1.0.0 (sequoia-openpgp 1.22.0)
Referenced By
1.0.0 Sequoia PGP