Mount file system path as encrypted?
Posted
by
Sebi
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Sebi
Published on 2014-06-02T07:58:42Z
Indexed on
2014/06/02
21:45 UTC
Read the original article
Hit count: 235
I know how to mount an encrypted ext4 partition. However, now I want to do the opposite. I want to mount a folder of an existing partition somewhere else in my filesystem, but when accessing it, files should get encrypted using AES256. Is that possible?
Here an example: I have a folder containing some images 1.jpg, 2.jpg, 3.jpg, etc. I want to mount this folder in another location so that the content of the images are encrypted. Filenames shouldn't change.
Background: I want to synchronise my image folder to a cloud storage, but I want to encrypt the files before upload. The tools provided by the cloud provider don't support client side encryption. Therefore, I want to use the tools on a folder only containing encrypted data.
© Ask Ubuntu or respective owner