Gpg Index Page 1
SOLVED: gpg signing failed: inappropriate ioctl for device
Fix "gpg signing failed: inappropriate ioctl for device" when doing git commit. Set GPG_TTY, restart gpg-agent, or use pinentry-mode loopback.
Gpg Index Page 1
gpg: signing failed: Inappropriate ioctl for device
If you got the error "Inappropriate ioctl for device", try to execute export GPG_TTY=$(tty). See here for more details on the solution