Simple and experimental note-taking app with built-in password-based encryption.
Find a file
Sofía Aritz f4b5a0541d Improve security of encrypted notes
Closes #1.

The password is hashed using Argon2, with the salt being `SHA256(password)`. The output hash is then encoded using hex.

The password-checking function checks if the "note database" is encrypted using the plain password (and returns it) or if it is encrypted using the hashed+salted password (and returns the value). This allows older databases to work properly.

A migration path may be added in the future.
2023-03-05 17:35:04 +01:00
src Improve security of encrypted notes 2023-03-05 17:35:04 +01:00
.gitignore Initial release 2023-02-27 15:22:30 +01:00
Cargo.toml Improve security of encrypted notes 2023-03-05 17:35:04 +01:00
README.md Add "Expectations" to the readme 2023-03-04 14:22:24 +01:00

Notes

This is a simple and experimental password-based note-taking app with built-in password-based encryption.

To-Do list

  • Improve password checking
  • Allow the addition of arbitrary metadata when creating a note
  • Add basic markdown support (bold, italics, underline)
  • Improve performance (duplicate decryption operations, tons of copying/cloning, etc)

Expectations

This project was done in just a day. Code quality isn't the best. I will slowly improve this project according to my needs, some things like the ones on the To-Do list will probably be done at some point in time.

However, with that being said, if you'd like to contribute or fix something, feel free to create an account and go for it! :)