If I have two folders E en D and a passphrase P, in a typical ecryptfs setup I would something like this:
- I setup folder E to be the encrypted version of folder D, using passphrase P to do the encryption/decryption.
- Folder E stores the actual data to disk, encrypted.
- Folder D is my live interface as a user, representing the data to me, decrypted on the fly.
But, can I also use this the other way around?
- I still set up folder E as the encrypted version of folder D, using passphrase P as the key for encryption.
- However, I interact directly using folder E. Folder E contains from my perspective as a user, my regular "decrypted" data.
- Folder D considers E as being encrypted, and represents a live view of that data "decrypted" using passphrase P, actually encrypting it in the process.
- I would be able to use folder D as the primary source for a backup of my data in folder E to a public cloud provider.
Any thoughts?