# GPG Pinentry broken after Gnome reinstallation

Hey! So I accidentally uninstalled cairo today and without the gnome environment, etc. I then reinstall Gnome with

sudo dnf install @gnome

and everything pretty much works again, but I ran into one issue. The gnome pinentry utility seems to be broken. When I try to decrypt something, enter my passphrase and click "ok" it just hangs and when I press escape it tells me "gpg: decryption failed: no secret key". I'm thinking this has something to do with it using gpg instead of gpg2? Could someone give me a hint how to configure pin-entry/gpg-agent to use gpg2 instead of gpg?

• Is the process gpg-agent running? If so, what's the command line invocation look like?
• Is the pinentry-gnome3 package installed?
• Do you have customizations inside ~/.gnupg/gpg-agent.conf?