Trying to commit my changes by using GitHub Desktop and getting this:
error: cannot run gpg: No such file or directory
error: could not run gpg.
fatal: failed to write commit object (128)
Firstly that not worked for terminal too and i create gpg-key and plugged in to my GitHub Account Now it's working well in Terminal but Desktop version still not working.
In Oficial doccumentation for GitHub Desktop i found some notation:
Note: GitHub Desktop does not support GPG signing.
Solved it.
So as GitHub Desktop was complaining about not being able to find gpg (I had installed it via homebrew), I figured there should be a way to tell git the exact path of gpg, turns out there is:
So running the following solved the problem:
GitHub got back to me and said that some users also need to use: