Hi, I installed gpg and kleopatra for managing my gpg keys. I added my key, configured it in git, but I get an error related to pinentry, which was installed alongside gpg.
[lemon@mona Dori]$ git commit -m test
error: gpg failed to sign the data:
[GNUPG:] KEY_CONSIDERED AAA79AF31F74F90A2B54954CDE4DA487DEEBB5AA 2
[GNUPG:] BEGIN_SIGNING H8
[GNUPG:] PINENTRY_LAUNCHED 9229 curses 1.2.1 - xterm-256color :0 - 1000/1000 0
gpg: signing failed: Inappropriate ioctl for device
[GNUPG:] FAILURE sign 83918950
gpg: signing failed: Inappropriate ioctl for device
fatal: failed to write commit object
I see that it detects and tries to launch pinentry, but it fails for no apparent reason.
I searched around, and most solutions I found were useless as they were related to using gpg signing as part of a script, but that's not what i want to do here.