-
-
Save toby1991/c12225702defed5a306522e700991ccc to your computer and use it in GitHub Desktop.
Revisions
-
LeonardoCardoso revised this gist
Mar 21, 2017 . 2 changed files with 1 addition and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ # GPG on Tower 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,3 @@ ## Setup *No need* for homebrew or anything like that. Works with https://www.git-tower.com and the command line. -
LeonardoCardoso renamed this gist
Mar 21, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
LeonardoCardoso created this gist
Mar 21, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ # GPG on Tower ## Setup *No need* for homebrew or anything like that. Works with https://www.git-tower.com and the command line. 1. Install https://gpgtools.org -- I'd suggest to do a **customized install** and deselect **GPGMail**. 1. Create or import a key -- see below for https://keybase.io 1. Run `gpg --list-secret-keys` and look for `sec`, use the key ID for the next step 1. Configure `git` to use GPG -- replace the key with the one from `gpg --list-secret-keys` ``` git config --global gpg.program /usr/local/MacGPG2/bin/gpg2 git config --global user.signingkey A6B167E1 git config --global commit.gpgsign true ``` 1. Add this line to `~/.gnupg/gpg-agent.conf` ``` pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac ``` 1. Add this line to `~/.gnupg/gpg.conf` ``` no-tty ```