Consider a user account on a system that has no graphical environment, where emacs and pinentry-curses are installed.
the user explicitly sets GPG_TTY=$(tty)
from emacs, trigger a command that uses a gpg secret key that has a password. The display is unusable, it's difficult to tell what's being shown, and it's not clear whether keystrokes are going into the pinentry, captured by emacs, or what.
this is with pinentry-curses 1.0.0-2 and gpg and gpg-agent 2.1.21-3 on debian, though it sounds like folks are having similar problems on other platforms.
what's the recommended approach for this configuration?