[Pkg-gnupg-maint] Bug#544379: gpg-agent: infinite cache support
Sergio Durigan Junior
sergiodj at sergiodj.net
Thu Sep 18 21:50:42 UTC 2014
On Thursday, September 18 2014, I wrote:
> I agree this would be a good feature :-).
>
> However, I investigated the code a little more and came to a few
> conclusions. There is a bug in the current code, because the TTL's are
> stored using "unsigned long" types, but when they get passed to the
> caching mechanism, it gets converted to "int"
Sorry, I hit C-c C-c before finishing :-).
Anyway, as I was saying, the current code converts "unsigned long" to
"int", which is a problem itself. But the main problem is that the code
doesn't seem to check if the cache entry should be infinite or not (as
promised in the comment you mentioned).
I will see if I can work on a patch for this.
--
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
More information about the Pkg-gnupg-maint
mailing list