.TH SQ 1 0.38.0 "Sequoia PGP" "User Commands" .SH NAME sq toolbox extract\-cert \- Convert a key to a cert .SH SYNOPSIS .br \fBsq toolbox extract\-cert\fR [\fIOPTIONS\fR] \fIFILE\fR .SH DESCRIPTION Convert a key to a cert. .PP After generating a key, use this command to get the certificate corresponding to the key. The key must be kept secure, while the certificate should be handed out to correspondents, e.g. by uploading it to a key server. .PP .SH OPTIONS .SS "Subcommand options" .TP \fB\-\-binary\fR Emit binary data .TP \fB\-\-output\fR=\fIFILE\fR Write to FILE or stdout if omitted .IP [default: \fB\-\fR] .TP \fIFILE\fR Read from FILE or stdin if FILE is '\-' .IP [default: \fB\-\fR] .SS "Global options" See \fBsq\fR(1) for a description of the global options. .SH EXAMPLES .PP .PP First, generate a key .PP .nf .RS sq key generate \-\-userid '' \\ .RE .RS .RS \-\-output juliet.key.pgp .RE .RE .PP .fi .PP Then, extract the certificate for distribution .PP .nf .RS sq toolbox extract\-cert \-\-output juliet.cert.pgp juliet.key.pgp .RE .fi .SH "SEE ALSO" .nh \fBsq\fR(1), \fBsq\-toolbox\fR(1). .hy .PP For the full documentation see . .SH VERSION 0.38.0 (sequoia\-openpgp 1.21.2)