Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple encryption for LogKeys (patch attached) #124

Open
GoogleCodeExporter opened this issue Jul 25, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@GoogleCodeExporter
Copy link

commented Jul 25, 2015

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

This comment has been minimized.

Copy link
Author

commented Jul 25, 2015

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:

@nico202

This comment has been minimized.

Copy link
Contributor

commented Aug 29, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.