Re:EncFS Security Audit
by klodolph on Wednesday March 12, 2014 @06:12PM
(#7388738)
Issue 2.2 has nothing to do with leaking the file size. It has to do with the encryption algorithm used.
Most modern encryption schemes operate on blocks of a certain fixed size, but if the file isn't a multiple of the block size, you have to do something special with the last block. EncFS apparently uses some made-up scheme for this, instead of using something more standard and well-understood. The common choices would be padding and ciphertext stealing.
Most modern encryption schemes operate on blocks of a certain fixed size, but if the file isn't a multiple of the block size, you have to do something special with the last block. EncFS apparently uses some made-up scheme for this, instead of using something more standard and well-understood. The common choices would be padding and ciphertext stealing.
http://en.wikipedia.org/wiki/Ciphertext_stealing