GPG signing failure
已回答
I have had GPG signing of my commits operational for quite a while, but with the update to 2024.3.1 I am now having issues. My GPG key does not have a passphrase and I'm now being prompted to enter one before it tries to commit. If I hit enter (no passphrase) it generates this error message:
error: gpg failed to sign the data
fatal: failed to write commit object
Manually executing the git command in a shell (found in the git console tab) succeeds, as expected, and the commit IS signed.
请先登录再写评论。
Looks like 2024.3.1.1 prevents this from happening, but if you ran into it you need to follow the steps in https://youtrack.jetbrains.com/issue/IJPL-173525/Git-GPG-signing-fails-with-errors-like-Bad-CA-certificate-or-failed-to-write-commit-object to fix it.
…and that stopped working. I've tried reverting to 2024.3.1 but I now have to use commandline or other tools to commit due to the GPG issues
Hi James,
How did it stop working? What is the error you get?
Can you commit from the terminal inside the IDE?