Skip to content

Instantly share code, notes, and snippets.

@JorGois
Forked from sinewalker/keybase.md
Created February 23, 2021 12:03
Show Gist options
  • Save JorGois/66fc481e587b0a010bc5fdfb2d16a603 to your computer and use it in GitHub Desktop.
Save JorGois/66fc481e587b0a010bc5fdfb2d16a603 to your computer and use it in GitHub Desktop.
How to import pub/sec PGP keys from keybase to your local GPG keyring.

Import Keybase PGP to GPG

After installing the keybase command-line tool onto a new / fresh computer, you may want to import your PGP key to the local keyring so that you may use the keys with GPG.

Import your PUBLIC PGP key:

keybase pgp export|gpg --import -

For your SECRET PGP key, you have to be more assertive:

keybase pgp export -s|gpg --allow-secret-key-import --import -

You will then want to trust the keys as your own, so that GPG can be "sure" they're safe to use

gpg --editkey you@keybase.io
trust
5
y
save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment