I have a file system mounted on /srv
, that is unencrypted. This is perfectly fine; the local systems are trusted.
However, I want to perform backups with Jottacloud, which does not support encryption. Is there any reverse encryption file systems, that I can use to get a on-the-fly encrypted version of my normal filesystem mounted somewhere else on the system, that can be backed up?
For performance reasons, I would prefer not to encrypt the base file system, as this contains 8TiB of data, although this is a solution if I find no other.
I would prefer the file names to be encrypted as well, but this is not a requirement.
This is currently on 16.04, but answers does not have to be for this particular version.
You may want to take a look at EncFS. It's especially useful to encrypt files stored in the cloud because it can encrypt files or folders. It's fast too. Here's a GUI for EncFS if you need it.
Edit:
According to an audit that dates back to 2014, EncFS "is not safe if the adversary has the opportunity to see two or more snapshots of the ciphertext at different times. EncFS attempts to protect files from malicious modification, but there are serious problems with this feature."
I couldn't find any information if the issues presented in the audit have since been fixed.
It looks like Cryptomator is considered more secure, and like EncFS, it too offers client side encryption (some more details about Cryptomator here).