sq-key-extract-cert1
Converts a key to a cert
Usage
extract-cert [{-o | --output}]
[{-B | --binary}]
[{-h | --help}]
[FILE]
Overview
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 "<[email protected]>" --export juliet.key.pgp
Then, this extracts the certificate for distribution
sq key extract-cert --output juliet.cert.pgp juliet.key.pgp
Releases
2 releases since Debian 11 (Bullseye); the text changed 1 time.
--binary since Debian 12 (Bookworm);
--help since Debian 12 (Bookworm);
-B since Debian 12 (Bookworm);
-h since Debian 12 (Bookworm).