SQ(1)

NAME
sq packet decrypt - Unwraps an encryption container

SYNOPSIS
sq [GLOBAL OPTIONS] packet decrypt [OPTIONS] FILE

DESCRIPTION
Unwraps 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

  Global options

-f, --force
    Overwrites existing files

--help
    Print help information

--known-notation=NOTATION
    Adds NOTATION to the list of known notations

--output-format=FORMAT
    Produces output in FORMAT, if possible

--output-version=VERSION
    Produces output variant VERSION.

--version
    Print version information

  Subcommand options

-B, --binary
    Emits binary data

--dump-session-key
    Prints the session key to stderr

--help
    Print help information

-o, --output=FILE
    Writes to FILE or stdout if omitted

--private-key-store=KEY_STORE
    Provides parameters for private key store

--recipient-file=KEY_FILE
    Decrypts the message using the key in KEY_FILE

--session-key=SESSION-KEY
    Decrypts an encrypted message using SESSION-KEY

--version
    Print version information

EXAMPLES

Unwraps the encryption revealing the signed message

    sq packet decrypt --recipient-file juliet.pgp ciphertext.pgp

SEE ALSO
sq(1).

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

VERSION
0.28.0 (sequoia-openpgp 1.13.0, using Nettle)