Tuesday, October 14, 2014

Wild Pinentry

Using `pinentry-curses` gets you pretty nice pinentry curses interface. But it turns your machine into an increasingly heating device once you bring it up without proper terminal set. This should not happen normally, because you are responsible for setting `GPG_TTY` correctly. Still, there are situations when you can't reliably do that. It would be a good thing if pinentry can verify that it talks to real terminal instead of going wild.

Lo and behold, here is my patched version.