gnupg-agent 2.0.14-0kk1 (same problem with 2.0.13) and pinentry 0.7.6-0kk1 on
Debian lenny:
When I want to decrypt or sign mails using mutt (with gpgme) and have no
$DISPLAY variable set (screen, ssh session or just by unsetting DISPLAY) it
usually works.
But then the tty is /dev/pts/0 or /dev/pts/2, pinentry(-curses) does not appear!
I did not find other single-digit pts ttys to verify, but other bug reports
indicate that any /dev/pts/(single-digit) exposes the problem. On other ttys
(e.g. /dev/pts/46 or /110) it works fine on the same system.
Other reports that might have been caused by this problem:
T1189
T840
http://www.intevation.de/roundup/aegypten/issue732
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551184
http://lists.gnupg.org/pipermail/gnupg-users/2009-May/036509.html