Created
March 17, 2021 21:58
-
-
Save miguelmota/ad1f752cd223fe233deddd3d48932bdb to your computer and use it in GitHub Desktop.
Keybase github setup gpg keys for verified commits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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