SQ(1)

NAME
sq toolbox packet decrypt - Unwrap an encryption container

SYNOPSIS
sq toolbox 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 toolbox packet dump`.

OPTIONS

  Subcommand options

-B, --binary
    Emit binary data

--dump-session-key
    Print the session key to stderr

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

    [default: -]

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

--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 omitted

    [default: -]

  Global options
See sq(1) for a description of the global options.

EXAMPLES

Unwraps the encryption revealing the signed message

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

SEE ALSO
sq(1), sq-toolbox(1), sq-toolbox-packet(1).

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

VERSION
0.36.0 (sequoia-openpgp 1.20.0)