2009-09-18 22:28:47 |
Jens Svalgaard |
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 at most 16 works fine. If you create a file with a name of 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 length at most 16 is shown at the second ls. The remaining files cannot be accessed at all. |
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. |
|