====== GPG and git on macOS ======

  * Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
  * Create or import a key -- see below for https://keybase.io
  * Run gpg --list-secret-keys and look for sec, use the key ID for the next step
  * Configure git to use GPG -- replace the key with the one from gpg --list-secret-keys


<code bash>
$ git config --global gpg.program /usr/local/MacGPG2/bin/gpg2
$ git config --global user.signingkey A6B167E1 
$ git config --global commit.gpgsign true
</code> 

===== Документация / Статьи =====

  * https://gist.github.com/danieleggert/b029d44d4a54b328c0bac65d46ba4c65