Does the gpg-agent keeps the keys unlocked for the session?

Sudhir Khanger sudhir at sudhirkhanger.com
Tue Jul 15 16:43:51 UTC 2014


Hello,

I was wondering if gpg-agent on your system keeps the keys unlocked
for the session.

My experience is that it doesn't. According to the documentation, the
passphrase cache would be removed in 2 hours [1].

I am using gpg encrypted KWallet and according to KWallet's upstream
developer the passphrase remains cached on his system for the session.
Please see the bug report for more information [2].

My only guess is that his distribution might be making choice on his behalf.

How does your Fedora box behave? Are you asked to re-enter gpg
passphrase after sometime? Or does it tend to keep cache for the
session?

[1] https://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html#Agent-Options
[2] https://bugs.kde.org/show_bug.cgi?id=336955

-- 
Regards,
Sudhir Khanger.
sudhirkhanger.com
https://github.com/donniezazen


More information about the users mailing list