gnupg updates: cannot sign git commits: "signing failed: No secret key"
by murdo from LinuxQuestions.org on (#6K5KK)
After yesterday's gnupg updates, I can no longer sign my git commits. When I try to make a commit, I get the following output:
Code:error: gpg failed to sign the data:
gpg: skipped " [ removed in case of sensitivity ] ": No secret key
[GNUPG:] INV_SGNR 9 [ removed in case of sensitivity ]
[GNUPG:] FAILURE sign 17
gpg: signing failed: No secret key
fatal: failed to write commit objectAnd the commit doesn't go through. Trying gpg --list-keys and gpg2 --list-keys suggests I now have no keys. Did the update erase them?
Code:error: gpg failed to sign the data:
gpg: skipped " [ removed in case of sensitivity ] ": No secret key
[GNUPG:] INV_SGNR 9 [ removed in case of sensitivity ]
[GNUPG:] FAILURE sign 17
gpg: signing failed: No secret key
fatal: failed to write commit objectAnd the commit doesn't go through. Trying gpg --list-keys and gpg2 --list-keys suggests I now have no keys. Did the update erase them?