-
-
Notifications
You must be signed in to change notification settings - Fork 870
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
Feature Request: Option to encrypt files in the cloud #1023
Comments
Whilst I can totally understand the desire here to upload encrypted data, the platform itself (OneDrive) has significant issues in dealing with encrypted files / data / content. In teasing out your request a little further - files that are uploaded, the content is to be encrypted. But what about the file name & or the folder name / path? If your data is so sensitive that it needs to be encrypted to avoid Microsoft 'investigating' or having access - would not the file name / folder path structure then also lead itself to privacy concerns? So let's say that - yes - file / folder names should be encrypted as well ... OK .. adds to another level of complexity. How would this then differ to say running eCryptFS locally and syncing the encrypted filesystem to OneDrive, whilst working with the unencrypted files locally? Well for starters you run into the 400+ character limitation that OneDrive imposes for the full path to a file when stored on OneDrive .. so this kind of negates being able to follow the design principals of eCryptFS to encrypt the path / filename & data .. and just leaves us with encrypting the file / contents of the file. This now then needs to look at the crypto to use to encrypt the file .. something I am not going to write myself as I know I will get it horribly wrong - so, leverage some of the kernel crypto functions to perform this job. How will the crypto key management be performed? The potential options here are:
If leveraging kernel crypto routines - do we pick ones that have CPU hardware support or keep it as software based only? What about all these older platforms (eg folk that still run Ubuntu 16 on i386 CPU's ... ) they wont have the hardware CPU crypto routines ... to what about the folk running ARM .. again different .... The next question would then be - how to obtain the key on application startup / enter the pass phrase .. what to do with The last complexity that I can think of is around 'multi-system' setups, where you are using the same OneDrive account on multiple Linux systems and/or platforms (Android phones, Windows etc) ... the encrypted data will be synced to those devices - how do you access? But if the file name is not changing - how do we know that your phone / Windows device will now not 'replace' the encrypted file with its own (maybe older) copy ... which means now you are potentially in a data loss scenario. So whilst I do totally understand your feature request and the desire to upload encrypted data - and this is not the first request for this (and probably wont be the last) - I have been thinking about how to tackle this, however this is not something that will be delivered in the short to medium term. This sort of feature needs a major step back away from code - whiteboard, design, architecture and think how to solve for all of the points above and even probably many more that I am not even seeing right now. If you 100% absolutely require this, and cannot live without this, please:
|
What a great answer! Maybe, until such a feature is implemented natively in some distant future, it's worth having a look at |
@seandlg Is it possible in the meantime for you to contribute a detailed document that outlines how to integrate utilising the tool you are suggesting - plus potentially some graphics showing results online when using that tool? |
Luckily, it appears that there already is a graphical setup guide to follow available online: https://docs.cryptomator.org/en/latest/desktop/getting-started/ The simple steps:
That's it. Also, it appears that
This is actually very cool, as it should enable you to completely get around the path limitation issue (allowing for arbitrarily deeply nested directory structures). |
Hi, first of all, thanks for building such an amazing free OneDrive client for Linux! |
Please refer to #232 for details. |
Would love to see this implemented if possible. I currently use duplicity to take snapshots+backups and upload the resulting bundle via this client. |
@adyanth |
This would add privacy from Microsoft without hindering user experience. It could be done by encrypting before uploading and decrypting after downloading. Additionally, this would be encrypted using the hash of a user's password as a symmetric key.
The text was updated successfully, but these errors were encountered: