Skip to content

Instantly share code, notes, and snippets.

Last active Oct 2, 2017
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-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 # 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