Fix for gpg pin program: set `GPG_TTY` env var.