|
|
|
|
|
by ynniv
4350 days ago
|
|
block crypto is typically not authenticated Is this simple oversight? you'd like your cryptosystem to have as much information to work with as possible, and one nice bit of information for it to have is where files begin and end. Doesn't this leak information? An attacker knows very little about an opaque block, but may be able to use file length and modification order to some advantage. |
|
http://sockpuppet.org/blog/2014/04/30/you-dont-want-xts/
Regarding information leakage: both schemes leak some degree of information (for reasons I get into in that post, XTS is deterministic). But because encrypted filesystems don't have to respect strict block boundaries, they can do a variety of things to limit or eliminate leakage. It's much harder for block device crypto to solve this problem.
Naive encrypted filesystems don't, of course. Like I said, I'd have a hard time making a recommendation between Truecrypt and EcryptFS.