SQ(1) User Commands SQ(1)

sq toolbox extract-cert - Convert a key to a cert

sq toolbox extract-cert [OPTIONS] FILE

Convert 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 key server.

Emit binary data
Write to FILE or stdout if omitted
[default: -]
Read from FILE or stdin if FILE is '-'
[default: -]

See sq(1) for a description of the global options.

First, generate a key

sq key generate --userid '<juliet@example.org>' \
--output juliet.key.pgp

Then, extract the certificate for distribution

sq toolbox extract-cert --output juliet.cert.pgp juliet.key.pgp

sq(1), sq-toolbox(1).

For the full documentation see https://book.sequoia-pgp.org.

0.38.0 (sequoia-openpgp 1.21.2)

0.38.0 Sequoia PGP