How to configure the gui for GPG Pinentry in Gnome?


I am trying to use the gui for gpg pinentry but after searching and trying some configurations, the only pinentry that I have it’s the cli asking for the PGP key’s password.

Can someone help me?

Thank you!

As an alternative, consider using Seahorse + Nautilus plugin:

sudo dnf install seahorse seahorse-nautilus

Thanks for the suggestion.

In reality, I plan to set up the gui prompt for when I use my pgp keys with other applications like Git or VSCodium and not to sign messages or documents.

From what I researched, I just need to put pinentry-program /usr/bin/pinentry-gnome3 on gpg-agent.conf and pinentry-mode loopback on gpg.conf and it should work fine.

I migrated from Debian 10 to Fedora 33 and I don’t know if it’s due to the packages being newer or some fedora settings but the gui prompt doesn’t work by default.

1 Like

Try to log in with Xorg:

I prefer Wayland and I think that is not related.

I used it with Wayland but in Debian.

I suspect that is related with the new version of Gnupg (2.x) but I’m not sure…

Thanks for the effort to help me!