I cannot commit anything into my git repository anymore. I'm running Windows 11 and I'm trying to commit from VS Code version control panel. I'm just getting this:
gpg: signing failed: No secret key
I definitely have the correct secret key in my .gitconfig and gpg-agent is running. I've been trying to solve this for an hour and haven't been able to.
My .gitconfig:
[user]
name = Roni Nevalainen
email = kitten@kittenz.dev
signingkey = (signing key)
[core]
editor = code --wait
[commit]
gpgsign = true
[color]
ui = auto
[init]
defaultBranch = main
Output of gpg --list-secret-keys:
sec rsa4096 2020-12-19 [SC]
(gpg key)
uid [ unknown] Roni Nevalainen (kittenz.dev email) <kitten@kittenz.dev>
uid [ unknown] Roni Nevalainen (GitHub key) <31485942+Cinderkittenz@users.noreply.github.com>
uid [ unknown] Roni Nevalainen <catmaster.kissa@gmail.com>
ssb rsa4096 2020-12-19 [E]