When gpg uses gpg-agent which tries to invoke 'pinentry' specified in
~/.gnupg/gpg-agent.conf and cannot, this error is displayed:
gpg: problem with the agent - disabling agent use
The error is very generic, it should say something about 'pinentry',
particularly that it couldn't invoke the specific executable.