On Thursday, 09.03.2006 at 19:43 +0100, Maurits van Rees wrote: > On Thu, Mar 09, 2006 at 10:11:47AM -0800, Andrew Sackville-West wrote: > > So I followed your advice and installed gpg-agent, and also made my > > passphrase "better" on the assumption that I'd be typing it less. So > > that's all great and gpg-agent seems to work really well, but I'm > > still typing in my now much longer passphrase every ten minutes or > > so. There is no man gpg-agent or info gpg-agent, and gpg-agent -h is > > no help. likewise google. how do you set the time-out to gpg-agent? > > First make your bash an ssh-agent: > > ssh-agent bash -l > > You may want to put that in .bashrc, though I don't seem to do that > myself now; perhaps the console I open in X does that by default > already. > > Anyway, now add your ssh identities to the agent: > > ssh-add -t 7200 > > This will add them for 7200 seconds, so 2 hours. Now you want need to > type your passphrase for another two hours.
You've answered the wrong question: you've replied about ssh-agent and Maurits asked about gpg-agent. To set the timeout for gpg-agent, include in ~/.gnupg/gpg-agent.conf: default-cache-ttl N max-cache-ttl N where N is the number of seconds to cache for. I don't remember where this was documented! Dave. -- Please don't CC me on list messages! ... Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED] All email from me is now digitally signed, key from http://www.sungate.co.uk/ Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
signature.asc
Description: Digital signature