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