I just ran into this issue, on the gpg CLI in Arch Linux. I needed to kill the existing “gpg-agent” process, then everything was back to normal ( a new gpg-agent should auto-launch when you invoke the gpg command, again; …).
- edit: if the process fails to reload (e.g. within a minute), execute
gpg-agent
in a terminal and/or reboot …