Is it possible to keep password cached for a whole session?

Sudhir Khanger sudhir at sudhirkhanger.com
Wed Jul 9 12:46:42 CEST 2014


I have been told that gpg-agent keeps password cached for the session
so that I don't have to constantly enter password to unlock gpg key.
My personal experience and a little research says there is nothing
like that being done automatically by upstream. I was wondering if
anyone could shed light on it?

I could get gpg-agent to keep the keys unlocked by adding following lines.

~/.gnupg/gpg-agent.conf
default-cache-ttl       34560000
max-cache-ttl           34560000

I am trying to track the following bug
https://bugs.kde.org/show_bug.cgi?id=336955

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



More information about the Gnupg-users mailing list