Fix gpg signing failed: Inappropriate ioctl for device

export GPG_TTY=$(tty)

ref https://github.com/keybase/keybase-issues/issues/2798

I mean, wtf is this error message???