I have tried the following -
- Created new GPG key pair, added to
gitconfigand then tried again to sign the commit. - Re-installed
pinentryand itsb-menuandd-menuprompter too. Did not work. -
export GPG_TTY=$(tty)[did not restart for this one only] - Added loopbacking of
pinentry
^ Restarted each time for the changes I did, nothing worked.
The solutions I have read but did not work -
forum.manjaro.org/t/cant-sign-gpg-commit/51332forum.manjaro.org/t/gpg-gpg-agent-or-gnome-keyring-daemon-not-asking-for-passphrases-after-reinstall/76788
Output of echo "test" | gpg --clearsign -
Hash: SHA256
test
gpg: signing failed: Inappropriate ioctl for device
gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device