Simple and experimental note-taking app with built-in password-based encryption.
Find a file
Sofía Aritz 2078c82f45 Add a migration system for the new password system
Added an automatic migration system for notes before the #1 redesign.

Ths system works as follows:
1. Checks the password system used.
2. If it's the old system, the migration is started.
3. The data directory is backed up.
4. The notes are decrypted using the old password.
5. The notes are encrypted and saved using the `KDF(password)`

This commit also adds documentation related to future migrations of the "password system" and which migrations will be supported by each future version.

This documents also showcases that when v1 is released, support for `PasswordSystem::V0` will be completely removed.
2023-03-06 18:23:37 +01:00
docs/migrations Add a migration system for the new password system 2023-03-06 18:23:37 +01:00
src Add a migration system for the new password system 2023-03-06 18:23:37 +01:00
.gitignore Initial release 2023-02-27 15:22:30 +01:00
Cargo.toml Add a migration system for the new password system 2023-03-06 18:23:37 +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! :)