Import and Export PGP Certificates
For a PGP certificate, you export the public and private keys for a certificate in separate operations. You can import only public keys. (The assumption is that you will import keys from external sources, who wouldn't provide their private keys to you.)
To export:
-
From the Certificates page, select the menu available in the row for the certificate you want to export. Or open the details page for that certificate and select its Actions menu.
-
In either menu, select Export, then Public Key or Private Key.
-
If you selected Private Key, provide its passphrase. (The public key doesn't require one.)
-
Select a location for the export file. By default, this file is called [alias]_pub.asc or [alias]_priv.asc.
To import a new PGP public key:
-
On the Certificates page, select the Import button.
-
In the Import page, select PGP and specify an alias (which need not match the alias of the file you're importing).
-
Browse for the public-key file, then select Import and Close.
- GnuPG v2.0.22 (GNU/Linux)
- Keybase OpenPGP v1.0.0
- OpenPGP.js v4.10.10
The Certificates page displays a record for the imported certificate, with the Private Key cell unchecked.
Use a distinct import procedure if you need to replace the public key for a certificate you have already imported, and don't want to change the name of the certificate:
-
In the Certificates page, locate the row for the certificate whose public key you have imported, and open its menu. Or, open the details page for the certificate, and select its Actions menu. In either menu, select Import.
-
Browse for the public-key file, then select Import.