Last active
October 2, 2017 21:34
-
-
Save thephw/0853d43f1cf63cedf6893ee97b979b27 to your computer and use it in GitHub Desktop.
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
$ brew update | |
$ brew boxen-install gnupg | |
$ gpg --gen-key # Use the same email address as github, local gitconfig, and SSH key | |
$ gpg --list-secret-keys --keyid-format LONG # Take everything after the / in pub to use in the following command | |
$ git config --global user.signingkey <YOUR KEY HASH HERE i.e. 0A123456> | |
$ git config --global commit.gpgsign true | |
$ gpg --armor --export <YOUR_EMAIL_ADDRESS_HERE> | pbcopy | |
$ open https://github.com/settings/keys # Paste the key into GPG keys here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment