Skip to content

Instantly share code, notes, and snippets.

@ruben-rodriguez
Last active April 5, 2017 06:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ruben-rodriguez/e67a679641c996aabf81c86f291380da to your computer and use it in GitHub Desktop.
Save ruben-rodriguez/e67a679641c996aabf81c86f291380da to your computer and use it in GitHub Desktop.
GPG & github gpg sign
gpg --import private_key.asc
gpg --list-secret-keys --keyid-format LONG
gpg --delete-secret-key <key>
gpg --edit-key <key>
passwd
git config --global user.signingkey <key>
git config --global commit.gpgsign true
Edit .bash_profile
export GPG_TTY=$(tty)
Copy public key https://keybase.io/akiyoshi/key.asc to a new gpg key on github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment