I ran into this problem with OSX.
Original answer:
It seems that the gpg update (from brew) has been changed to a location from gpg to gpg1 , you can change the binary where git views gpg:
git config --global gpg.program gpg1
If you do not have gpg1: brew install gpg1 .
Updated answer:
It seems that gpg1 is deprecated / "gently pushed out of use" , so you probably should upgrade to gpg2, unfortunately, this involves a few more steps / a little time:
brew upgrade gnupg
The first part installs gpg2, and the last - hack necessary for use . For troubleshooting, see this answer (although this does not apply to Linux not brew), this offers a good test:
echo "test" | gpg --clearsign
If this test is successful (there is no error / output that includes the PGP signature), you have successfully upgraded to the latest version of gpg.
Now you can use the git signature again!
It is worth noting that you will need:
git config --global gpg.program gpg
Note. After you have completed the signed commit, you can check it with:
git log --show-signature -1
which will include gpg information for the last commit.
Andy Hayden Oct. 16 '16 at 4:37 2016-10-16 04:37
source share