Client-Side Encryption #92
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
help wanted
Extra attention is needed
Noto will support cloud hosting as discussed here. It's currently in the work using Supabase for cloud storage, and Bouncy Castle for encryption.
After doing a lot of research and brainstorming, I found out that there are multiple ways it could be implemented. I'll probably go with the following approach:
Upon registration:
The process, from 5 to 7, is repeated for each new folder with a different symmetric key K.
Upon login
This approach is how it's planned to be. I'm still in the early process of the implementation, so things might change. I'll keep updating this issue as I work on the implementation.
Advantages of this approach:
Disadvantages of this approach:
If you have any suggestions, please share them!
Resources:
https://security.stackexchange.com/questions/88984/encrypting-with-passwords-encryption-of-key-vs-data
https://security.stackexchange.com/questions/30193/encrypting-user-data-using-password-and-forgot-my-password
https://stackoverflow.com/questions/7529582/how-to-store-private-encrypted-user-data-in-the-database-but-make-them-availabl
https://stackoverflow.com/questions/18057390/how-can-i-encrypt-data-with-a-password-but-allow-said-password-to-be-reset
https://stackoverflow.com/questions/12935409/safely-generated-encryption-key-from-users-password
https://bitwarden.com/help/what-encryption-is-used/#aes-cbc
https://security.stackexchange.com/questions/174647/end-to-end-encryption-with-multiple-users
https://crypto.stackexchange.com/questions/22678/how-secure-is-it-to-use-password-as-aes-key
https://stackoverflow.com/questions/45563332/aes-encryption-example-class-to-encrypt-data-using-users-password
https://stackoverflow.com/questions/1949640/does-iv-work-like-salt
https://cryptobook.nakov.com/
https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html
The text was updated successfully, but these errors were encountered: