Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
$ brew update
$ brew boxen-install gnupg
$ gpg --gen-key # Use the same email address as github, local gitconfig, and SSH key
$ gpg --list-key # 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