bramaudi

Make GPG ask password with GUI and make persistent

I have problem work with password store in my new EndeavourOS KDE, where I'm must typing password to decrypt GPG key each time it's expired, unlike in my previous Linux Mint I only need to login one time then use the rest of my user session without hassle.

Not only that, third-party app like QtPass and browserpass extension throw me an error instead of asking me a password of my GPG key.

Fortunately I'm finally found a solution, just by edit ~/.gnupg/gpg-agent.conf then add these config:

allow-loopback-pinentry
pinentry-program /usr/bin/pinentry-qt
default-cache-ttl 34560000
max-cache-ttl 34560000