Skip to content

Instantly share code, notes, and snippets.

@agconti
Last active March 22, 2024 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agconti/bf36b102c065587a0efc54d66d9939dd to your computer and use it in GitHub Desktop.
Save agconti/bf36b102c065587a0efc54d66d9939dd to your computer and use it in GitHub Desktop.
A walkthrough on how to get a pgp key from keybase.

Get a PGP key from Keybase.

A walkthrough on how to get a pgp key from keybase.

Before you get started

  • Install pgp -- brew install gnupg

Create your keybase account

Go to keybase and create an account.

Add your pgp key

Screen Shot 2021-06-03 at 8 47 50 AM

Select I need a public key

Screen Shot 2021-06-03 at 8 48 00 AM

Import your key into your local environment

Screen Shot 2021-06-03 at 9 28 09 AM

Import the public key

Configure the environment to read keys:

export GPG_TTY=$(tty)
keybase pgp export | gpg --import

Import the private key

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

Prove your GitHub account

Screen Shot 2021-06-03 at 9 42 41 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment