Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Can we decrypt a file system using older version #668

Open
renjithvrs755 opened this issue Nov 23, 2023 · 1 comment
Open

Question: Can we decrypt a file system using older version #668

renjithvrs755 opened this issue Nov 23, 2023 · 1 comment

Comments

@renjithvrs755
Copy link

renjithvrs755 commented Nov 23, 2023

Hi,

Can we decrypt a file system using an older version than that was encrypted?

I have a specific scenario where the encryption was done by using the 1.9.5 version and the decryption needs to be done by using 1.7.4.
Does this scenario work?

More details:

EncFS 1.9.5
Version 6 configuration; created by EncFS 1.9.5 (revision 20100713) Filesystem cipher: "ssl/aes", version 3:0:0 (using 3:0:2) Filename encoding: "nameio/block", version 4:0:0 (using 4:0:2) Key Size: 256 bits Using PBKDF2, with 243692 iterations Salt Size: 160 bits Block Size: 4096 bytes, including 16 byte MAC header Filenames encoded using IV chaining mode. File holes passed through to ciphertext.

EncFS 1.7.4
Version 6 configuration; created by EncFS 1.7.4 (revision 20100713) Filesystem cipher: "ssl/aes", version 3:0:0 (using 3:0:2) Filename encoding: "nameio/block", version 3:0:0 (using 3:0:1) Key Size: 256 bits Using PBKDF2, with 117782 iterations Salt Size: 160 bits Block Size: 4096 bytes, including 16 byte MAC header Filenames encoded using IV chaining mode. File holes passed through to ciphertext.

Please share your thoughts.
Thanks

@Keisial
Copy link
Contributor

Keisial commented Jan 7, 2025

Those are two different filesystems. But yes, as long as they are compatible, you should be able to encrypt using a version and decrypt using a different one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants