Bug#544379: gpg-agent: infinite cache support

2014-09-18 Thread Sergio Durigan Junior
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" --

Bug#544379: gpg-agent: infinite cache support

2014-09-18 Thread Sergio Durigan Junior
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

Bug#544379: gpg-agent: infinite cache support

2009-08-30 Thread Matt Taggart
Package: gnupg-agent Version: 2.0.12-1 Severity: wishlist I would like to be able to have gpg-agent cache passphrases infinitly. Poking around the source I find in agent/cache.c line 41 int ttl; /* max. lifetime given in seconds, -1 one means infinite */ and lines 193-198 /* Store DATA of l