News for hackers. Stuff that matters.
Re:Jrnl – A simple command line journal application by padraigk on Tuesday June 24, 2014 @12:41PM (#7938698)
Nice util. Just a suggestion for the encryption: You should consider using a password-based key derivation function (PBKDF) rather than just hashing the key once with SHA256. This could help deter brute-force attacks particularly if the chosen hashing function is computationally intensive; e.g. scrypt
Re:Jrnl – A simple command line journal application by maebert on Tuesday June 24, 2014 @06:50PM (#7941198)
You're absolutely right, and honestly I have no idea why I used SHA256, I should know better. Will fix.