DOKK / manpages / debian 11 / sq / sq-decrypt.1.en
SQ-DECRYPT(1) USER COMMANDS SQ-DECRYPT(1)

sq-decrypt - Decrypts a message

Decrypts a message using either supplied keys, or by prompting for a password. Any signatures are checked using the supplied certificates.

The converse operation is "sq encrypt".

sq decrypt [FLAGS] [OPTIONS] [--] [FILE]

Prints help information

Prints the session key to stderr

Prints a packet dump to stderr

Prints a hexdump (implies --dump)

Writes to FILE or stdout if omitted

Sets the threshold of valid signatures to N. If this threshold is not reached, the message will not be considered verified. [default: 0]

Verifies signatures with CERT

Decrypts with KEY

Reads from FILE or stdin if omitted

# Decrypt a file using a secret key
$ sq decrypt --recipient-key juliet.pgp ciphertext.pgp
# Decrypt a file verifying signatures
$ sq decrypt --recipient-key juliet.pgp --signer-cert romeo.pgp ciphertext.pgp
# Decrypt a file using a password
$ sq decrypt ciphertext.pgp

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

sq(1), sq-armor(1), sq-autocrypt(1), sq-certify(1), sq-dearmor(1), sq-decrypt(1), sq-encrypt(1), sq-inspect(1), sq-key(1), sq-keyring(1), sq-packet(1), sq-sign(1), sq-verify(1)

Azul <azul@sequoia-pgp.org>
Igor Matuszewski <igor@sequoia-pgp.org>
Justus Winter <justus@sequoia-pgp.org>
Kai Michaelis <kai@sequoia-pgp.org>
Neal H. Walfield <neal@sequoia-pgp.org>
Nora Widdecke <nora@sequoia-pgp.org>
Wiktor Kwapisiewicz <wiktor@sequoia-pgp.org>
JANUARY 2021 0.24.0 (SEQUOIA-OPENPGP 1.0.0)