Bug 408791

Summary: encfs incompatible after update
Product: [openSUSE] openSUSE 11.0 Reporter: Vin G <dev>
Component: OtherAssignee: Forgotten User sLJ7K2dvxj <forgotten_sLJ7K2dvxj>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: gull
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 254905    
Bug Blocks:    

Description Vin G 2008-07-14 06:43:18 UTC
encfs can no longer mount the old encrypted directory after upgrading from 10.3 to 11.0.

I get "Error decoding volume key, password incorrect"

Note: I was using 64bit opensuse 10.3 and I'm currently using 32bit opensuse 11.0 (if that makes any difference)
Comment 1 Vin G 2008-07-14 10:28:39 UTC
ok
I installed the encfs of opensuse 10.3 which use version 1.3.2 of encfs (ftp://mirror.internode.on.net/pub/opensuse/distribution/10.3/repo/oss/suse/i586/encfs-1.3.2-42.i586.rpm)

and it works!

My data is encrypted using blowfish, which is old.


now, how do I migrate my data to the new encfs?
Comment 2 Forgotten User sLJ7K2dvxj 2008-07-28 19:46:11 UTC
(Sorry for the late response)

There was a very similar bug a while back: bug 254905, which was eventually traced to an openssl bug.  This may be something similar.

Can you please post the output of "encfsctl info" on the encrypted directory?

Thanks.
Comment 3 Vin G 2008-07-29 04:07:27 UTC
encfsctl info <encrypted directory>

Version 5 configuration; created by EncFS 1.3.2 (revision 20040813)
Filesystem cipher: "ssl/aes", version 2:1:1
Filename encoding: "nameio/block", version 3:0:1
Key Size: 256 bits
Block Size: 512 bytes, including 8 byte MAC header
Each file contains 8 byte header with unique IV data.
Filenames encoded using IV chaining mode.
File data IV is chained to filename IV.

Comment 4 Forgotten User sLJ7K2dvxj 2008-07-29 18:53:41 UTC
Thanks.

Another question: can you check the version of the openssl package:

  rpm -q libopenssl0_9_8

When downgrading to encfs-1.3.2, was there any other change (e.g. upgrading or downgrading openssl) that could have affected the working encfs?
Comment 5 Vin G 2008-07-30 06:11:25 UTC
hi
rpm -q libopenssl0_9_8 gives me:
libopenssl0_9_8-0.9.8g-47.1


I uninstalled encfs 1.4.x and manually downloaded the encfs 1.3.2 for opensuse 10.3 and install it onto my opensuse 11.0 and it worked. There was no other packages that were affected.

Comment 6 David Brodbeck 2008-08-19 19:34:21 UTC
This particular problem is probably because encfs 1.4.x drops support for some older encfs filesystem formats -- I have a filesystem dating back to about 0.7 that it can no longer open.  However, 1.4.x seems broken on OpenSuSE even when reading its own volumes; see bug #412567.
Comment 7 Forgotten User sLJ7K2dvxj 2008-10-29 11:06:11 UTC
Submitted 1.5.0 version of encfs.  It should solve all outstanding encfs issues.  If not, please reopen.

Thanks.