
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.

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

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. -- Blade hails you... Now let us lie Sad we lived sad we die Even in your pride I never blamed you --Nightwish

On Saturday 30 September 2006 01:42, Alvin wrote:
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
Thanks Alvin and Boyan, Guess it is working OK. Maybe I will customize it later. Bob S.
participants (3)
-
Alvin
-
Bob S
-
Boyan Tabakov