-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symmetric Encryption #13
Comments
I've been doing some research into algorithms that could be used, and here's the gist of what I've found:
So, without being an expert in cryptography, the best options appear to come down to:
... probably in that order, though that depends on what libraries are available for Rust, whether they've been verified, and so on. |
Looks like RustCrypto has implementations of both with some amount of auditing for both -- the ChaCha crate was directly audited and the AES-SIV-GCM one was not, though its dependency crate for AES-GCM was. |
Okay, so I've done a lot of research and I have determined what seems to be at least an okay route to go, if not good. This is regardless of which algorithm is used.
|
There is a little bit of configuration support for this already, but no actual support.
Essentially, backed up files will get encrypted using a given password, and restored files will be decrypted by the same.
There will be two sources of password: a raw password
password = ""
and a password command to retrieve it from somewhere else.I'll need to do research into the best encryption to use for both speed and security. AES, probably.
The text was updated successfully, but these errors were encountered: