On 30.9.2006 08:42, Alvin wrote:
For the second question, gpg-agent (which kgpg really just calls) remembers your passpharse for a limited amount of time. I think the default is 5min (300 seconds). I can't seem to find the gpg-agent config file on my system (openSUSE 10.1), but I think you can configure this feature in ~/.gnupg/gpg.conf. I just can't seem to find the out how. If run gpg-agent --help you will see the --default-cache-ttl option. I'm just which configure file needs to be edited.
The config file for gpg-agent is ~/.gnupg/gpg-agent.conf To edit the default cache time, add the following line in gpg-agent.conf:
default-cache-ttl <seconds>
where of course you should substitute <seconds> for the value you want. Note that gpg-agent.conf may already contain some lines, explaining that they were generated by GPGConf. You should follow the note given and add any of your custom configuration lines below the commented area.