encfs does not work with stream filename encoding
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
encfs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: encfs
encfs (version 1.4.2-2 on Ubuntu 9.04) does not work when using stream filename encoding. Filenames of length at most 16 works fine. If you create a filename of length at least 17, the actual encrypted file is created (with the right content), but the file cannot be accessed from the clear-text-
This works perfectly with in Ubuntu 8.04 (encfs 1.3.2-1-1) and on my Gentoo system (encfs 1.5).
Steps to reproduce
-------
mkdir -p /tmp/ost/rootdir /tmp/ost/mountpoint
encfs /tmp/ost/rootdir /tmp/ost/mountpoint
# inside encfs, select expert-mode
# select some file encryption, e.g., AES 256-bits key, 256 bytes blocks
# select stream encoding on file names
# answer n (=No) to the remaining questions.
cd /tmp/ost/mountpoint
ls -al
touch 1 12 123 1234 12345 123456 1234567 12345678 123456789 1234567890 12345678901 123456789012 1234567890123 12345678901234 123456789012345 1234567890123456 12345678901234567 123456789012345678 1234567890123456789 123456789012345
ls -al
In the above only files with at filename length at most 16 is shown at the second ls. The remaining files cannot be accessed at all.
description: | updated |
summary: |
- encfs does not work with stream encoding on file names + encfs does not work with stream filename encoding |