Hi, (at least for me) the attached patch finally fixes the pinentry-ncurses problems we were still having (as soon as you press a key, the screen is garbage). To quote the commit message: Previously, when using threads, Ncurses.getch was called while the gpg pinentry was running (as an example of using the shell_out method). Now, the Ncurses mutex will be used to wait until shell_out mode is finished. Please have a look if this patch is working for you and merge it for the next release. Best regards, Michael