pinentryQT timeout

Klaus Vink Slott klaus at vink-slott.dk
Wed Dec 31 10:38:01 CET 2025


This might be slightly off-topic, but I hope someone has an idea:

When opening a KDE session, I've always liked to let KDE relaunch every 
program that was running in the previous session. However, as more and 
more programs rely on KDE Wallet, this has caused me a problem.

I have my gpg setup using kdewallet + gnupg + yubiKey setup as described 
by DrDuh(1).

Everything is fine when it's up and running, but as KDE Wallet is 
required by many of the programs I use, it's essential that I enter the 
PIN quite early in the login sequence. Perhaps even before the login 
splash screen times out. If I don't manage to enter the PIN for opening 
GPG/KDE Wallet before the next program launches in front of Pinentry, 
there is no chance of accessing Pinentry before it or the program that 
calls it times out. I could try using something like Alt+Tab to bring 
Pinentry back to the front, but then the next program launches in front 
and the process repeats, ultimately leaving me with a pile of pop-ups 
complaining that GPG has not been opened.

I've searched through the options in the PIN entry program for a "stay 
on top" option, not finding any - also tried to add an extended time to 
the gpg-agent.conf file, but it didn't help.

Do you have any ideas, or should I give up on the KDE relaunch feature?

-- 
Regards
Klaus

1: https://github.com/drduh/YubiKey-Guide



More information about the Gnupg-users mailing list