BUG: gpg(2)/pinentry-curses interaction faulty

Albrecht Dreß albrecht.dress at arcor.de
Sun Oct 24 18:49:28 CEST 2004


Hi all,

apparently gpg and gpg2 have problems to determine the TTY for interaction  
with pinentry-curses. Whereas gpgsm passes e.g. "OPTION ttyname=/dev/ 
pts/1" to pinentry-curses, gpg always sends "OPTION ttyname=/dev/tty",  
which makes pinentry-curses and in turn gpg(2) fail. X11 pinentry's (gtk,  
gtk-2) work perfectly with gpg, gpg2 and gpgsm.

The workaround for this problem is adding something like GPG_TTY=$(tty) to  
e.g. .bashrc, but of course it would be better if gpg(2) like gpgsm would  
set ttyname correctly.

My system is a PowerMac running Linux 2.4.25, glibc 2.3.1 and gnupg 1.9.11  
and 1.2.6, if this is important.

Cheers, Albrecht.



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
       Phone (+49) 228 6199571  -  mailto:albrecht.dress at arcor.de
_________________________________________________________________________

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20041024/694202b3/attachment.bin


More information about the Gnupg-devel mailing list