On Saturday 30 September 2006 02:06, Bob S wrote:
Hello,
Recently finally installed kgpg because I wanted to protect some files. Seems to work somewhat but does not seem to work properly. Some questions and observations regarding behavior:
When I encode a file it leaves the original file. Is that the correct behavior? Then I must delete the original file ?
When I open the encrypted file it asks for the passphrase correctly before it will un-encrypt it and produce the file in it's normal format. However if I close it again (and have to delete the resultant un-encrypted file again), the next time I go to open the encrypted file, it opens right up, producing the un-encrypted file and not requiring the passphrase.
Doesn't seem right to me. Any comments, suggestions, thoughts ? Hope this is clear but I can further elaborate for better understanding of what is happening.
Bob S.
Hello Bob,
I use kgpg every day and afaik this is the correct behaviour.
For your first question, try the "Shred source file" option under Settings->Configure Kgpg->Encryption. That will remove the original file once it has been encrypted. For me, I tend to leave this turned off since I move the encrypted file to my thumbdrive (leaving the original on my computer).
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.
Hope this helps,
Alvin openSUSE 10.1 KDE 3.5.4 release 78.1 KGpg 1.2.2 gpg 1.4.2 gpg-agent 1.9.18 pin-entry-qt 0.7.2