sq-autocrypt-encode-sender - Man Page
Encodes a certificate into an Autocrypt header
Synopsis
sq 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
Subcommand options
- --email=ADDRESS
Sets the address [default: primary userid]
- -o, --output=FILE
Writes to FILE or stdout if omitted
- --prefer-encrypt=PREFER-ENCRYPT
Sets the prefer-encrypt attribute
- FILE
Reads from FILE or stdin if omitted
Global options
See sq(1) for a description of the global options.
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
For the full documentation see <https://book.sequoia-pgp.org>.
Version
0.34.0 (sequoia-openpgp 1.19.0)