Header and Master Key implementation #51
ricassiocosta
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
Is it not a bad idea to encrypt lots of files with the same key (the master key)? VeraCrypt can use this as it only has one file to unlock (the container/volume) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just want to bring some light in the "Header File" idea I shared here. VeraCrypt uses a interesting concept of Header Key and Master Key (https://www.veracrypt.fr/en/Header%20Key%20Derivation.html) to encrypt a volume. In simple terms, basically it has two different keys: the Header Key is the key that the user actually choose during the setup, and the Master Key is the key that actually encripts the target volume.
So if we kinda bring this idea to this app, you could create a header file that holds the "master key" and use the "header key" to decrypt this file. In that way, you could easily achive this request #47 of update the vault password without decrypt and encrypt all the files in the vault (since you would only need to create a new header file with the same master key, encrypted using the new password). A bonus would be the fix of this issue #45, that now you have a simple way to verify if the given password can decrypt a folder or not, and stop showing it if not.
Beta Was this translation helpful? Give feedback.
All reactions