note-taking/Cargo.toml
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

22 lines
370 B
TOML

[package]
name = "note-taking"
version = "0.1.0"
edition = "2021"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
egui = "0.21"
eframe = "0.21"
anyhow = "1"
log = "0.4"
simple_logger = "4.0"
chrono = "0.4"
serde_json = "1.0"
rand = "0.8"
pwbox = "0.5"
directories = "4.0"
native-dialog = "0.6"
hex = "0.4"
sha2 = "0.10"
argon2 = "0.5"
fs_extra = "1.3"