How does eCryptfs recognise the 'special marker' in its files?
Asked by
Ted_Smith
Hi Dustin or Tyler
There's an 8 byte special marker at the start of every eCryptfs file (second sequence of 8 bytes). The marker is generated by XOR'ing a randomly generated 4 byte value (X) with another 4 byte static hex value of 0x3c81b7f5 which produces the 8 byte marker itself (Y). So the value 0x3c81b7f5 is never stored, I don't think.
Given that X is randomly generated and Y is the XOR'd result of "X + 0x3c81b7f5" combined, how does the value assure eCryptfs that it is an eCryptfs file? I am confused as the value must surely be effectively random? What does eCryptfs look for?
Thanks
Ted
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- eCryptfs Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ted_Smith
- Solved:
- Last query:
- Last reply:
To post a message you must log in.