Scroll to navigation

SQ(1) User Commands SQ(1)

NAME

sq packet decrypt - 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

Emit binary data
Print the session key to stderr
Write to FILE or stdout if omitted
[default: -]
Decrypt the message using the key in KEY_FILE
Decrypt an encrypted message using SESSION-KEY
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

sq(1), sq-packet(1).

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

VERSION

1.0.0 (sequoia-openpgp 1.22.0)

1.0.0 Sequoia PGP