encfs does not work with stream filename encoding

Bug #432720 reported by Jens Svalgaard
6
This bug affects 1 person
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-mountpoint.

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 12345678901234567890 123456789012345678901 1234567890123456789012 12345678901234567890123 123456789012345678901234 1234567890123456789012345 12345678901234567890123456 123456789012345678901234567 1234567890123456789012345678 12345678901234567890123456789 123456789012345678901234567890 123456789012345678901234567890
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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.