I am getting this error when trying to commit using Git.
gpg: skipped \"name \": secret key not available gpg: signing failed: secret ke
I had the same problem at it was that git name and email store in .gitconfig were different from the ones of the gpg key provided. I changed them in order to match and it started to work.