Commit graph

6 commits

Author SHA1 Message Date
Mark Pariente
7c8fd64e0d Handle malformed file names in BFDS.decryptImpl()
In case there is a file on the volume storage that is exactly two bytes
long, BasicFilenameDecryptionStrategy.decryptImpl() will end up with a
zero length encFileName which will trigger unhandled exceptions from
EncFSCrypto calls. Handle the exception in decryptImpl() instead.
2014-12-01 00:38:14 -08:00
Mark Pariente
ac2311c729 Fix decoding of malformed file names
It's possible for a malformed file name to result in a decoded file
name that is smaller than 2 bytes. The fix is to catch the exception and
throw an EncFSCorruptDataException.
2013-05-23 22:11:18 -07:00
Mark Pariente
7eac39ff60 Comment, visibility and naming fixes 2013-02-24 22:56:13 -08:00
Mark Pariente
d3f11ff3a0 Rename EncFSAlgorithm -> EncFSFilenameEncryptionAlgorithm 2013-02-24 18:38:16 -08:00
Mark Pariente
dc1303866e Comment fixes and renaming in EncFSVolume 2013-02-24 18:21:19 -08:00
Mark Pariente
8ffdf7d5da NotNull -> Basic Filename{Encryption|Decryption}Strategy 2013-02-22 21:43:07 -08:00
Renamed from src/main/java/org/mrpdaemon/sec/encfs/NotNullFilenameDecryptionStrategy.java (Browse further)