extract-cert(1)

πŸ“¦
version 0.27.0 Β· 2 versions
, in debian bookworm

πŸ’– extract-cert β€” the Sequoia Manual era πŸ’–

okay bestie, so this is extract-cert from the Sequoia Manual and it's literally about turning a key into a cert. let's get into it πŸŽ€


✨ 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.</purgle>

okay so here's the tea: after you generate a key, you run this command to get the certificate that corresponds to that key. and the vibe check here is important β€” the key must be kept secure, while the certificate is the thing you hand out to correspondents, like by uploading it to a keyserver. it's giving "private main character stays home, public bestie goes to the party" 🫢


πŸ‘‘ OPTIONS πŸ‘‘

  • -o, --output=FILE β€” writes to FILE, or to stdout if you just... don't say anything. lowkey convenient ✨
  • -B, --binary β€” emits binary data. no armor, no frills, just vibes πŸ’€
  • -h, --help β€” print help information. your girl always has the answers πŸ’–
  • [FILE] β€” reads from FILE, or from stdin if omitted. shy about giving a path? it'll take it from the pipe 🧚

🌈 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 that? generated the key, extracted the cert, ate. periodt. πŸ”₯


πŸŽ€ 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)


that's the whole page bestie, no cap, every flag accounted for πŸ’…

and that's a wrap on this one β€” brought to you by sq 0.26.0, dated July 2022 (yes she's an older icon but she still slays) πŸ¦‹πŸ’œβœ¨

πŸ“¦ where this page comes from