JackieXie168 / logkeys

Automatically exported from code.google.com/p/logkeys
Other
0 stars 0 forks source link

Simple encryption for LogKeys (patch attached) #124

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I didn't want logKeys to store the log files in plain text, in the case if 
someone tries obtains my hard-drive, he/she can just read off from the log file 
without even authenticating as root through my machine. 

So I just added a few lines into main and into the args, that allow the files 
to be "" encrypted "" as before they get written. (For now I just offset each 
ascii character by 20.. =/)

Of course it is a very weak encryption, but I didn't want to store the files in 
plain text. Of course, if someone views the source code he/she will figure out 
how to decrypt it, but I was thinking about solving that in future 
contributions.

I have commented out the code, tested it and created a patch for you. Hoping to 
hear from you.

Best,
Steven Enamakel

Original issue reported on code.google.com by steven...@gmail.com on 1 Dec 2014 at 12:13

Attachments:

GoogleCodeExporter commented 9 years ago
Actually I attached the wrong patch. Here's the actual one. Also, I added 
documentation to the man pages for this one.

Also, sorry for the spelling errors in the prev. post, was too sleepy to type ;/

Best,
Steven Enamakel

Original comment by steven...@gmail.com on 1 Dec 2014 at 1:13

Attachments: