.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH SQ 1 0.31.0 Sequoia-PGP "User Commands"
.SH NAME
sq autocrypt decode \- Reads Autocrypt\-encoded certificates
.SH SYNOPSIS
.br
\fBsq\fR [\fIGLOBAL OPTIONS\fR] \fBautocrypt decode\fR [\fIOPTIONS\fR] \fIFILE\fR
.SH DESCRIPTION
Reads Autocrypt\-encoded certificates.
.PP
Given an autocrypt header (or an key\-gossip header), this command
extracts the certificate encoded within it.
.PP
The converse operation is "sq autocrypt encode\-sender".
.PP


.SH OPTIONS
.SS "Global options"
.TP
\fB\-\-cert\-store\fR=\fIPATH\fR
Specifies the location of the certificate store
.TP
\fB\-f\fR, \fB\-\-force\fR=\fIFORCE\fR
Overwrites existing files
.TP
\fB\-\-keyring\fR=\fIPATH\fR
Specifies the location of a keyring to use
.TP
\fB\-\-known\-notation\fR=\fINOTATION\fR
Adds NOTATION to the list of known notations
.TP
\fB\-\-no\-cert\-store\fR=\fINO_CERT_STORE\fR
Disables the use of a certificate store
.TP
\fB\-\-output\-format\fR=\fIFORMAT\fR
Produces output in FORMAT, if possible
.TP
\fB\-\-output\-version\fR=\fIVERSION\fR
Produces output variant VERSION.
.TP
\fB\-\-pep\-cert\-store\fR=\fIPATH\fR
Specifies the location of a pEp certificate store
.TP
\fB\-\-time\fR=\fITIME\fR
Sets the reference time as ISO 8601 formatted timestamp
.TP
\fB\-\-trust\-root\fR=\fIFINGERPRINT|KEYID\fR
Considers the specified certificate to be a trust root
.SS "Subcommand options"
.TP
\fB\-B\fR, \fB\-\-binary\fR=\fIBINARY\fR
Emits binary data
.TP
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
Writes to FILE or stdout if omitted
.SH EXAMPLES
.PP

.PP
Extract all certificates from a mail
.PP
.nf
.RS
sq autocrypt decode autocrypt.eml
.RE
.fi
.SH "SEE ALSO"
.nh
\fBsq\fR(1).
.hy
.PP
For the full documentation see <https://docs.sequoia\-pgp.org/sq/>.
.SH VERSION
0.31.0 (sequoia\-openpgp 1.16.0, using Nettle 3.9 (Cv448: true))
