Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


On 05.12.19 15:12, Steve Martin wrote:
Hello,

my name is Steve Martin and I am a student at Ruhr University Bochum. I have a few questions regarding the implementation of encryption and decryption process in LibreOffice. I found some informations at:

http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part3.html#__RefHeading__752815_826425813

about the encryption process.
I know since LibreOffice v3.5 AES-256 (in CBC mode) is using. I using LibreOffice v6.3. Is there a official specification on the implementation of encryption and decryption in LibreOffice documents (Which algorithms can be used, what exactly is the procedure, which coding methods are used, how will the data be processed (padding))? Where I can find this sepcification?

i'm not aware of anything specific to LO, just the file format specifications from OASIS and Microsoft.

in addition to ODF encryption, which is not ideal but at least somewhat competent, there are various legacy hashing & encryption schemes supported for interoperability with legacy formats, such as binary MSO files; these can be arbitrarily bad ("XOR encryption").

iirc Microsoft Office's non-standard OOXML encryption is also implemented, but i don't know anything about that... presumably this is well designed, seeing as it's the newest design.

oh, one thing that's odd that comes to mind about ODF encryption is there's some addChaffWhenEncryptedStorage function to add XML comments with random characters; i forgot what problem that was supposed to solve.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.