Last updated 8 months ago
gpg: signing failed: Inappropriate ioctl for device can be fixed by setting GPG_TTY variable -
gpg: signing failed: Inappropriate ioctl for device
GPG_TTY
$ export GPG_TTY=$(tty)
Note: Add above line to ~/.bashrc file, to avoid running it everytime shell session starts.
~/.bashrc
Source: