encdroid
encdroid copied to clipboard
Decryption after re-encryption does not work
Hi there,
when opening an encrypted file (for example .xlsx) on my phone, everything works fine, after saving the changed file, encdroid re-encrypts the file and uploads it to dropbox.
But when I try reopening the file out of encdroid I am getting
org.mrpdaemon.sec.encfs.EncFS CorruptDataException: Block MAC mismatch
. Even on my desktop I cannot open the file (corrupt file).
Does anyone has an idea?
Hi,
I'm experiencing a similar issue. After reading PDFs with the Adobe Reader app (which always seems to change them in the process), the files are re-uploaded automatically by Encdroid, yielding the same error -- corrupt PDFs! Luckily, mupdf's mutool clean
could repair them. Freshly uploading files from inside Encdroid also produces corrupt files. Flop :(
Hi, This seems to be an issue in combination with the Adobe Reader app..... When changing to another PDF-Editor (e.g. .xodo pdf reader - which also allows editing), files are encrypted and uploaded again after editing. So far i have not seen issues .....
Is this project still active? The app hasn't been updated in a while ;(
I haven't had time to work on this project for a while, but I do intend to work on it in the near future. I already have some unreleased commits merged to master already (material theme etc.) - stay tuned!
Re: the Adobe Reader interaction, I will try to figure out what is going on.
May be releated to this: https://github.com/mrpdaemon/encdroid/issues/87
I verified importing and exporting/ opening after modification docx files , but i did not face any such issue. on 2 seperate devices, android 7.1.1(drive) and 4.3(dropbox). Are you sure you are getting this everytime? if so, a logcat log could be helpful. Edit: after referring to #87 , when i test the same with paranoia mode volume created on ubuntu encfs v1.8.1 (and placing it on dropbox, and importing again as dropbox volume in encdroid) , the issue gets reproduced. Intrestingly, if i use local storage of same volume(one in paranoia mode) in encdroid, things work fine!
I'm getting a similar issue, with text files. I'm using Encdroid with Dropsync and DroidEdit on Android (5.0), encfs on Linux (Ubuntu 16.04.1), and EncFSMP on Windows 7; Dropbox to sync my EncFS volume between platforms.
Here's the error on Android: org.mrpdaemon.sec.encfs.EncFS CorruptDataException: Block MAC mismatch
Here's the error on Windows: Error during read operation, file: \poker\games-hosting\2016-12-09 Friday.txt, details: Assert failure at f:/Projects/encfsMP/src/encfs/MACFileIO.cpp:225 -- MAC comparison failure, refusing to read
I will try to reproduce this myself too - but it would help me if folks who can reproduce this can send me the configuration in .encfs6.xml so I can see what volume configuration options were used. I'll try with encfs paranoia mode.