I am getting this error when trying to commit using Git.
gpg: skipped \"name \": secret key not available
gpg: signing failed: secret ke
Using "C:\Program Files\Git\usr\bin\gpg.exe" was the solution for me.
Had to uninstall kleopatra. With it, it was not working.
So, summing up;
No need for kleopatra, use GIT default instead.
git config --global user.signingkey Y0URK3Y
git config --global commit.gpgsign true
git config --global gpg.program "C:\Program Files\Git\usr\bin\gpg.exe"