.TH SQ-KEY-EXTRACT-CERT "1" "JANUARY 2021" "0.24.0 (SEQUOIA-OPENPGP 1.0.0)" "USER COMMANDS" 5 .SH NAME sq\-key\-extract\-cert \- Converts a key to a cert 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 keyserver. .SH SYNOPSIS \fBsq key extract\-cert\fR [FLAGS] [OPTIONS] [\-\-] [FILE] .SH FLAGS .TP \fB\-h\fR, \fB\-\-help\fR Prints help information .TP \fB\-B\fR, \fB\-\-binary\fR Emits binary data .SH OPTIONS .TP \fB\-o\fR, \fB\-\-output\fR FILE Writes to FILE or stdout if omitted .SH ARGS .TP FILE Reads from FILE or stdin if omitted .SH EXAMPLES .TP # First, this generates a key \fB $ sq key generate \-\-userid "" \-\-export juliet.key.pgp\fR .TP # Then, this extracts the certificate for distribution \fB $ sq key extract\-cert \-\-output juliet.cert.pgp juliet.key.pgp\fR .SH SEE ALSO For the full documentation see . .ad l .nh sq(1), sq\-armor(1), sq\-autocrypt(1), sq\-certify(1), sq\-dearmor(1), sq\-decrypt(1), sq\-encrypt(1), sq\-inspect(1), sq\-key(1), sq\-key\-adopt(1), sq\-key\-attest\-certifications(1), sq\-key\-extract\-cert(1), sq\-key\-generate(1), sq\-keyring(1), sq\-keyring\-filter(1), sq\-keyring\-join(1), sq\-keyring\-list(1), sq\-keyring\-merge(1), sq\-keyring\-split(1), sq\-packet(1), sq\-sign(1), sq\-verify(1) .SH AUTHORS .P .RS 2 .nf Azul Igor Matuszewski Justus Winter Kai Michaelis Neal H. Walfield Nora Widdecke Wiktor Kwapisiewicz