📝 Update TODO

feature/database-encription
German Lashevich 7 years ago
parent 3f78dfc947
commit be3b84b184
No known key found for this signature in database
GPG Key ID: 3446FAE369C9A8B4

24
TODO

@ -1,21 +1,5 @@
# Change approach for saving and loading data
## On load
1. Read encrypted data into memory
2. Invoke decrypt function, which takes IV from the beginning of the data
3. Retrieve secret
4. Decrypt data
5. Unserialize data
## On save
1. Serialize data
2. Generate IV
3. Retrieve secret
4. Encrypt data
5. Concatenate IV + encrypted data
6. Save data to file
# Cache password ?
# Update README
# Implement secret retrieval from OS's keyring
# Decompose lib into modules
# Implement tests

Loading…
Cancel
Save