sq-key-extract-cert(1)

cert - Converts a key to a cert

Section 1 sq bookworm source

Description

extract-cert

NAME

extract-cert - Converts a key to a cert

SYNOPSIS

extract-cert [-o|--output] [-B|--binary] [-h|--help] [FILE]

DESCRIPTION

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.

OPTIONS

-o, --output=FILE

Writes to FILE or stdout if omitted

-B, --binary

Emits binary data

-h, --help

Print help information

[FILE]

Reads from FILE or stdin if omitted

EXAMPLES

First, this generates a key

sq key generate --userid "<juliet@example.org>" --export juliet.key.pgp

Then, this extracts the certificate for distribution

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

SEE ALSO

For the full documentation see <https://docs.sequoia-pgp.org/sq/>.

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-generate(1) sq-key-password(1) sq-key-userid(1) sq-keyring(1) sq-keyserver(1) sq-packet(1) sq-revoke(1) sq-sign(1) sq-verify(1) sq-wkd(1)

See Also

  • sq(1)
  • armor(1)
  • autocrypt(1)
  • certify(1)
  • dearmor(1)
  • decrypt(1)
  • encrypt(1)
  • inspect(1)
  • key(1)
  • adopt(1)
  • certifications(1)
  • generate(1)
  • password(1)
  • userid(1)
  • keyring(1)
  • keyserver(1)
  • packet(1)
  • revoke(1)
  • sign(1)
  • verify(1)
  • wkd(1)