What about filename encryption?
Long story short: eCryptfs filename encryption is available since Linux 2.6.29.
The namespace problem arises when we consider the case where two files have the same unencrypted name. This can be a problem when the user does not have the key for every file in any given directory. Imagine, for instance, that Alice creates a file named ``meeting_
So two different files that have the same unencrypted name and different encrypted names appear in the same directory. When Carol, who has both Alice's key and Bob's key, lists the contents of the directory, he winds up seeing two different files with the same filename in the same directory, which is a POSIX violation.
The solution we have implemented is to use a separate key just for filename encryption, requiring all filenames encrypted under any given directory to be encrypted with that key. Filename encryption is available since Linux 2.6.29.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- eCryptfs Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Dustin Kirkland
- Solved:
- Last query:
- Last reply: