logkeys
logkeys copied to clipboard
Simple encryption for LogKeys (patch attached)
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 [email protected] on 1 Dec 2014 at 12:13
Attachments:
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 [email protected] on 1 Dec 2014 at 1:13
Attachments:
Please, don't do this
For a real encryption with easy integration use something like https://github.com/skeeto/enchive
You can just pipe the output through it and you are safe