Last active
March 18, 2019 11:14
-
-
Save didierfranc/33e75db176eea610bec8a15c9d551e4f to your computer and use it in GitHub Desktop.
GPG setup script
This file contains hidden or 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
# Mac only | |
brew install gpg | |
gpg --passphrase '' --pinentry loopback --quick-generate-key "Didier Franc <[email protected]>" | |
gpg --export --armor | pbcopy | |
git config --global user.signingkey `gpg --list-secret-keys --keyid-format LONG | grep sec | cut -c 15-30` | |
git config --global commit.gpgsign true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment