mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-30 23:38:18 +00:00
19 lines
499 B
Text
19 lines
499 B
Text
[[exporting-gpg-keys-cli]]
|
|
= Exporting a GPG Key Using the Command Line
|
|
|
|
Use the following command to send your key to a public keyserver:
|
|
|
|
----
|
|
gpg --send-key KEYNAME
|
|
----
|
|
|
|
For `KEYNAME`, substitute the key ID or fingerprint of your primary keypair.
|
|
This will send your key to the gnupg default key server. If you prefer another one use:
|
|
|
|
----
|
|
gpg --keyserver hkp://pgp.mit.edu --send-key KEYNAME
|
|
----
|
|
|
|
Replacing `pgp.mit.edu` with your server of choice.
|
|
|
|
Now see <<safeguarding-your-secret-key>>.
|