James pointed me to this debian bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=322932
Which indicates that the environment variable GPG_TTY can be set, which seems to fix the problem. The associated branch seems to fix this for me.
James pointed me to this debian bug
http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 322932
Which indicates that the environment variable GPG_TTY can be set, which seems to fix the problem. The associated branch seems to fix this for me.