SQ(1)

NAME
sq packet dump - Lists packets

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

DESCRIPTION
Lists packets.

Creates a human-readable description of the packet sequence. Additionally, it can print cryptographic artifacts, and print the raw octet stream similar to hexdump(1), annotating specifically which bytes are parsed into OpenPGP values.

To inspect encrypted messages, either supply the session key, or see "sq decrypt --dump" or "sq packet decrypt".

OPTIONS

  Global options

--cert-store=PATH
    Specifies the location of the certificate store

-f, --force=FORCE
    Overwrites existing files

--keyring=PATH
    Specifies the location of a keyring to use

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

--no-cert-store=NO_CERT_STORE
    Disables the use of a certificate store

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

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

--pep-cert-store=PATH
    Specifies the location of a pEp certificate store

--time=TIME
    Sets the reference time as ISO 8601 formatted timestamp

--trust-root=FINGERPRINT|KEYID
    Considers the specified certificate to be a trust root

  Subcommand options

--mpis=MPIS
    Prints cryptographic artifacts

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

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

-x, --hex=HEX
    Prints a hexdump

EXAMPLES

Prints the packets of a certificate

    sq packet dump juliet.pgp

Prints cryptographic artifacts of a certificate

    sq packet dump --mpis juliet.pgp

Prints a hexdump of a certificate

    sq packet dump --hex juliet.pgp

Prints the packets of an encrypted message

    sq packet dump --session-key AAAABBBBCCCC... ciphertext.pgp

SEE ALSO
sq(1).

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

VERSION
0.30.1 (sequoia-openpgp 1.16.0, using Nettle 3.9 (Cv448: true))