Open
Description
Data corruption after backup EncFS directory
Description:
I am experiencing data corruption issues after performing a backup of my EncFS directory. Here are the details of the issue:
- During mounting, I encounter the following error for many files:
WARNING MAC comparison failure in block 0
As a result, the files are not readable at all. - When using the
--forcedecode
option, some files can be partially read, but I receive numerous errors related to different block numbers during access attempts.
Steps to Reproduce:
- Create an EncFS encrypted folder using the following configuration:
- Cipher algorithm:
ssl/aes
- Key size: 256 bits
- Block size: 1024 bytes
- Filename encoding:
nameio/block
(with IV chaining enabled) - KDF: PBKDF2 with 100,000 iterations
- Cipher algorithm:
- Copy the encrypted directory to another location as a backup.
- Attempt to access the backed-up files or restore them to a new location.
Observed Behavior:
- Files in the backed-up directory are severely corrupted.
- Many files appear to have a fixed size of 100 bytes in the mounted view.
- Attempts to open the files result in readable headers, but the rest of the content is unreadable or contains junk data.
- Directory names and structures appear intact.
Troubleshooting Attempts:
- Verified the original
.encfs6.xml
is intact and matches the backed-up directory. - Attempted recovery using the same password and EncFS version but could not restore the files.
Request:
Could you help determine if:
- This is a known issue or configuration error.
- There are any recommended recovery steps for partially corrupted files.
Thank you for your help!
Metadata
Metadata
Assignees
Labels
No labels