Signing Git commits with an SSH key

Jan-Piet Mens wrote up a short note explaining how to sign Git commits using an SSH key. It also includes a short guide how to setup your GitHub account to recognize the SSH signing key.

$ git config --global user.signingkey ~/.ssh/key_file.pub
$ git config --global gpg.format ssh
$ git config --global commit.gpgsign true
$ git config --global tag.gpgsign true

blog comments powered by Disqus