I previously had created a GPG key for signing my Git commits to Github. I wanted to remove it, however after deleting it from Github and my local machine Git still gives me the error: gpg failed to sign the data
when committing.
I have checked that the key is deleted from my machine since both
gpg --list-keys
gpg --list-secret-keys --keyid-format LONG
return empty in my terminal.
I have removed the key from Git on my machine by using
git config --global --unset user.signingkey
but alas Git still gives me the error.
I'm using a Windows 10 machine for this, any clue as to what I can do?
To turn off signing by default you'll also need to clear the commit.gpgsign config setting:
git config --global --unset commit.gpgsign