When trying to commit with signing enabled, the following message appears:
0 file committed, 1 file failed to commit: <commit>
gpg failed to sign the data
failed to write commit object
If I try to sign some cleartext with GPG (echo "test" | gpg --clearsign), via Clion Terminal tab, it becomes clear that the error is caused by missing pinentry:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
test
gpg: signing failed: No pinentry
gpg: [stdin]: clear-sign failed: No pinentry
When trying to commit with signing enabled, the following message appears:
If I try to sign some cleartext with GPG (echo "test" | gpg --clearsign), via Clion Terminal tab, it becomes clear that the error is caused by missing pinentry:
Similar issue exists in the IDEA Ultimate version: https://github.com/flathub/com.jetbrains.IntelliJ-IDEA-Ultimate/issues/98, but was solved by bundling pinentry (https://github.com/flathub/com.jetbrains.IntelliJ-IDEA-Ultimate/pull/99)