[KDE] Save password until logout after decrypting GPG key

I use EOS Galileo Neo using KDE variant Plasma 6.0.3, I’m using pass, a password manager secured with GPG key.

Problem:

  1. I must decrypt to open pass every time it timeout, need solution to save it so it can be persistent until I logged out.
  2. Third-pary app depends on pass are unable to trigger “password ask” to decrypt GPG key, I must using terminal to decrypt first then third-party app can be used, it seems I was missing package to show GUI “password ask” and only have the CLI version.

Looks like I’m solved by myself, here is how:

Edit ~/.gnupg/gpg-agent.conf then paste this:

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

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.