On Thursday 17 Jun 2010 16:59:34 Valient Gough wrote:

> Encfs 1.5.1 has been uploaded, which contains a number of fixes that
> had been accumulating in SVN, along with a workaround for boost 1.42.

I've just downloaded and tried this and found a few problems. For reference 
I'm on 64-bit Linux system with boost 1.42 and had to configure encfs with:

./configure --with-boost-serialization=boost_serialization-mt --with-boost-
filesystem=boost_filesystem-mt

Failure to give these flags results in errors such as:

checking for boostlib >= 1.34... yes
checking whether the Boost::System library is available... yes
configure: WARNING: BOOST_CPPFLAGS -I/usr/include
checking whether the Boost::Serialization library is available... yes
configure: error: Could not link against  !

If you do give the longer configuration then it doesn't compile. The problem 
given here is:

FileUtils.cpp:127:30: error: boost-versioning.h: No such file or directory

and indeed the file is nowhere to be found. However, commenting out the 
#include line does mean that the code does compile.

Then another problem occurs. Consider the following sequence of events:

$ mkdir ~/1 ~/2
$ encfs/encfs ~/1 ~/2
Creating new encrypted volume.
Please choose from one of the following options:
 enter "x" for expert configuration mode,
 enter "p" for pre-configured paranoia mode,
 anything else, or an empty line will select standard mode.
?> 

Standard configuration selected.

Configuration finished.  The filesystem to be created has
the following properties:
Filesystem cipher: "ssl/aes", version 2:2:1
Filename encoding: "nameio/block", version 3:0:1
Key Size: 192 bits
Block Size: 1024 bytes
Each file contains 8 byte header with unique IV data.
Filenames encoded using IV chaining mode.
File holes passed through to ciphertext.

Now you will need to enter a password for your filesystem.
You will need to remember this password, as there is absolutely
no recovery mechanism.  However, the password can be changed
later using encfsctl.

New Encfs Password: 
Verify Encfs Password: 
$ echo secret > ~/2/file
$ cat !$
cat ~/2/file
secret
$ ls -l ~/1
total 4
-rw-r--r-- 1 jim jim 15 2010-06-17 17:50 JfuHEDzc8159dMXOwWP6ws1H
$ fusermount -u ~/2
$ encfs/encfs ~/1 ~/2
17:50:35 (FileUtils.cpp:190) Invalid version 0 - please fix config file
17:50:35 (FileUtils.cpp:406) Archive exception: XML start/end tag mismatch - 
creator
17:50:35 (FileUtils.cpp:357) Found config file /home/jim/1/.encfs6.xml, but 
failed to load
Creating new encrypted volume.
Please choose from one of the following options:
 enter "x" for expert configuration mode,
 enter "p" for pre-configured paranoia mode,
 anything else, or an empty line will select standard mode.
?> 

So it would appear that the problem with boost 1.42 isn't fixed. At least for 
me.

I've attached the offending .encfs6.xml file so we can determine if it's 
reading 
or writing the file that's the problem.

Many thanks for your help,

Jim.

Attachment: .encfs6.xml
Description: XML document

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users

Reply via email to