On Tue, 13 Nov 2018 15:18:22 +0100 Werner Koch <w...@gnupg.org> wrote: > For any script use you should anyway use --batch which disables the use > of the tty as a side-effect.
Even for something that shouldn't have a reason to prompt, like "--recv-keys" with a full fingerprint? It makes some sense logically, but seems a bit overkill (and worked fine without in the previous Debian Stable version of gnupg), and is now a pretty common pattern in the Docker ecosystem (I've seen failing builds in a huge number of repositories now with this exact tty-related error on similar "--recv-keys" invocations). Would it make sense to detect that there's no TTY present and assume batch mode? (apologies if something like that's been proposed before) (And to be explicitly clear, your work on GnuPG is appreciated!) ♥, - Tianon 4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4