sq-autocrypt-encode-sender(1)

sq-autocrypt-encode-sender1

Encodes a certificate into an autocrypt header

Usage

encode-sender [{-o | --output}] [--email] [--prefer-encrypt] [{-h | --help}] [FILE]

Overview

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

-o, --output=FILE

Writes to FILE or stdout if omitted

--email=ADDRESS

Sets the address [default: primary userid]

--prefer-encrypt=PREFER-ENCRYPT [default: nopreference] [possible values: nopreference, mutual]

Sets the prefer-encrypt attribute

-h, --help

Print help information

[FILE]

Reads from FILE or stdin if omitted

Examples

Encodes a certificate

 sq autocrypt encode-sender juliet.pgp

Encodes a certificate with an explicit sender address

 sq autocrypt encode-sender --email [email protected] juliet.pgp

Encodes a certificate while indicating the willingness to encrypt

 sq autocrypt encode-sender --prefer-encrypt mutual juliet.pgp

Releases

2 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12

--help since Debian 12 (Bookworm); -h since Debian 12 (Bookworm).

--prefer-encrypt until Debian 11 (Bullseye).

From sq 0.27.0-2+b1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.