Let’s take a look at how to use a GUI pinentry for one program, and cursesfor everything else. I’m on Arch Linux using i3wm as a window manager and pass as my passwordmanager. pass comes with a handy script, passmenu, that allows you to findyour password from within the status bar, dmenu. This way you won’t have toopen a terminal every time you want to copy a password. However, I had instructed gpg-agent to use /usr/bin/pinentry-curses. Thismeant that every time I invoked passmenu and m...