[pkg-gnupg-maint] Bug#842015: Bug#842015: Bug#842015: Similar issue, no emacs

Vincent Lefevre vincent at vinc17.net
Thu Nov 3 17:51:45 UTC 2016


On 2016-11-03 17:44:22 +0100, Werner Koch wrote:
> BTW, the fallback to Curses can also be troublesome if the calling
> application does not know about this and has no way to redraw the
> screen.

The fallback to Curses is actually a bug when --no-tty is provided
as a gpg option, because this is documented as:

        Make sure that the TTY (terminal) is never used for any
        output.   This  option  is needed in some cases because
        GnuPG sometimes prints warnings  to  the  TTY  even  if
        --batch is used.

So, the terminal can't be used to output the prompt for the
passphrase. I suppose that applications that do not know how
to redraw the screen use this option.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-gnupg-maint mailing list