[Libreoffice-bugs] [Bug 124537] Editing password-protected XLS created multiple empty files in backup directory

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 3 21:44:58 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=124537

--- Comment #3 from Mike Kaganski <mikekaganski at hotmail.com> ---
The problem seems to be in ZipPackage::setPropertyValue, where it expects
"PackageSHA256UTF8EncryptionKey" or "PackageSHA1UTF8EncryptionKey", but
actually gets "OOXPassword" (for XLSX) or "STD97EncryptionKey"/"STD97UniqueID"
pair (for XLS).

The debug output lists these lines for each attempt:

> warn:sfx.doc:16096:17588:sfx2/source/doc/docfile.cxx:881: It must be possible to set a common password for the storage
> warn:sfx.doc:16096:17588:sfx2/source/doc/objstor.cxx:1378: Setting of common encryption key failed!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190403/0abb7070/attachment.html>


More information about the Libreoffice-bugs mailing list