rhiestan / EncFSMP

Mount EncFS folders - multiplatform style.
https://encfsmp.sourceforge.io/
124 stars 19 forks source link

EncFSMP 0.99 crashes and MAC comparison failure #16

Open RolfKissel opened 5 years ago

RolfKissel commented 5 years ago

Hi,

I was using EncFSMP 0.11.1 for years now on a gdrive folder with several 100 GB of data in a complex folder structure, when my disk crashed. So I reinstalled a new drive and re-synched everything. Everything seemed to work fine for a few days. Then suddenly I could not open some files anymore with e.g. the following error: Error during read operation, file: \Steuerfälle\2019\U Buch Belege\Einnahmen\KDP_Report_2018_Payments_Steuer.pdf, details: Assert failure at f:/Projects/encfsMP/src/encfs/MACFileIO.cpp:225 -- MAC comparison failure, refusing to read

There are several files not working, some other files still work.

I was hoping for an issue that might have been fixed in a newer version and installed the latest EncFSMP today. But when trying to access that same file it crashed. (Stopped working message and gone it was). I retried several times and I once saw an error log with a similar message like the MAC one above mentioning an error in block 0.

(In the config I have no caching and no local drive - both boxes are NOT checked)

Summary:

My questions: what exactly leads to this MAC error? I seem to understand it's some kind of security check comparing checksums? Can I disable that thingy to open my files? Anything that can be done to fix this?

Thanks a lot for your help, kind regards, Rolf.

RolfKissel commented 5 years ago

Could be related to #13, I am on Windows 10 though, also external drive, also no problems found at drive check.

rhiestan commented 5 years ago

Hi

This MAC error is shown when the file is corrupted. Even if you could switch it off, it wouldn't help you, since the file would be corrupt. Unfortunately I don't know how you could recover the file. However, I am not a encfs expert, so the developers of encfs might help you: https://github.com/vgough/encfs

RolfKissel commented 5 years ago

Hi,

thanks for your response... I do have backups and with a little work I can recover/reconstruct my data. Problem is that this gives me a very bad feeling regarding the safety of my data .... but maybe simple the driving becoming corrupt has corrupted the data just before uploading it.... Anyway you may want to use this ticket to investigate the crash of the newest encfsmp, to that respect the old version 0.11.1 behaved better withour crashing at the MAC error. Thanks, kind regards, Rolf.