Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created March 17, 2021 21:58
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 miguelmota/ad1f752cd223fe233deddd3d48932bdb to your computer and use it in GitHub Desktop.
Save miguelmota/ad1f752cd223fe233deddd3d48932bdb to your computer and use it in GitHub Desktop.
Keybase github setup gpg keys for verified commits
keybase pgp export | gpg --import
keybase pgp export --secret | gpg --allow-secret-key --import
gpg --list-secret-keys
gpg --edit-key <key-id>
> trust
> 5 (trust ultimately)
git config --global user.signingKey <key-id>
git config --global commit.gpgsign true
gpg --armor --export <key-id>
# add public key to github.com/settings/keys
# show commit signature
git log --show-signature -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment