SQ(1)

NAME
sq autocrypt encode-sender - Encodes a certificate into an Autocrypt header

SYNOPSIS
sq [GLOBAL OPTIONS] autocrypt encode-sender [OPTIONS] FILE

DESCRIPTION
Encodes a certificate into an Autocrypt header.

A certificate can be encoded and included in a header of an email message. This command encodes the certificate, adds the senders email address (which must match the one used in the "From" header), and the senders "prefer-encrypt" state (see the Autocrypt spec for more information).

The converse operation is "sq autocrypt decode".

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

--email=ADDRESS
    Sets the address [default: primary userid]

--help
    Print help information

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

--prefer-encrypt=PREFER-ENCRYPT
    Sets the prefer-encrypt attribute

--version
    Print version information

EXAMPLES

Encodes a certificate

    sq autocrypt encode-sender juliet.pgp

Encodes a certificate with an explicit sender address

    sq autocrypt encode-sender --email juliet@example.org juliet.pgp

Encodes a certificate while indicating the willingness to encrypt

    sq autocrypt encode-sender --prefer-encrypt mutual juliet.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)