So I just installed a fresh install of Fedora 32 w/ KDE and when I go to decrypt a GPG (PGP) file from a shell window, a GUI popup asks for the password. Now in the past, this would be inline so I would get the prompt in the shell.
But now with the popup, my mouse pointer would almost be never near it, and since I had strict focus under mouse, I would constantly have to move my mouse to the popup window!
Anyway, I found a number of ways to fix this out there, but here are the steps that worked for me:
Edit ~/.gnupg/gpg-agent.conf and add:
pinentry-program /usr/bin/pinentry-curses
And then add this to your environment variables (i.e., .bashrc, .profile, etc):
PINENTRY_USER_DATA “USE_CURSES=1”
And then you can restart the gpg agent via:
pkill -HUP gpg-agent