https://bugs.documentfoundation.org/show_bug.cgi?id=114221
--- Comment #13 from Aron Budea <[email protected]> ---
Created attachment 138338
--> https://bugs.documentfoundation.org/attachment.cgi?id=138338&action=edit
File with bug - recovered
(In reply to francis-marylene from comment #10)
> What about the file which is corrupted (CA2017)? I really would like to open
> it again. Do you have a way to recover it?
I have good news for you, the file is recoverable, I'm attaching it, it's
unencrypted now.
When the user simply saves the file, it saves as an unencrypted file, but sets
encryption mode for it, thus it fails decryption. I could open the bad file by
setting a breakpoint at the following line, and skipping to the end of the
function:
rStrm.SetDecrypter( xDecr );
https://opengrok.libreoffice.org/xref/core/sc/source/filter/excel/xicontent.cxx#1247
Then the file could be saved, and is saved unencrypted.
The bug only affects files having this newer encryption (>= MS Office 2013),
when they are saved (via save as, since that works), the scheme reverts to the
older one, opening and saving those files keeps the format and encryption.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs