Can we decrypt a file system using older version of EncFS
Hi All,
Can we decrypt a file system using an older version of encfs than that was encrypted? I have a specific scenario where the encryption was done by using the encfs 1.9.5 version and the decryption needs to be done by using encfs version 1.7.4. Does this scenario work? Details: Encrypted directory info from EcFS 1.9.5 Quote:
Quote:
Thanks |
What did you try and what was the result?
|
Quote:
Code:
/usr/local/bin/encfs.195 -S --public /root/encfs/new/encrypted /root/encfs/new/decrypted Code:
/usr/bin/encfs.174 -S --public /root/encfs/new/encrypted /root/encfs/new/decrypted |
This suggests incompatibilty, though the error message about the xml-file sounds in-plausible. Use xmllint two validate the file, or compare files created with different versions of the program.
|
Did you unmount it before the second attempt ?.
|
Quote:
1.9.5 Code:
Key Size: 256 bits Code:
Key Size: 256 bits |
Quote:
|
I reproduced the problem:
Code:
# encfs.174 -S --public /root/encfs_test/encr_01/ /root/encfs_test/mount_01/ Code:
# xmllint -noout encr_01/.encfs6.xml |
It might work, if creation time you use 'expert' mode, and select a file-name-encoding algorithm compatible with the older version (e.g. 4:Stream); also you have to remove this line from the .xml fájl:
Code:
<plainData>0</plainData> |
Quote:
Thank you for this suggestion. It seems this will solve the issue for the time being so I'm planning to use this method to make things work. |
All times are GMT -5. The time now is 04:48 PM. |