58c31ded02
The problem is that on Windows 7 the password-encrypted documents are stored unencrypted, without any error message. This is due to defensive programming in OStorageHelper::CreatePackageEncryptionData(), which happily continues if creating the SHA256 hash fails, which is the one required for storing anything newer than ODF 1.1. Also, the poorly named ZipPackage::GetEncryptionKey() should check for consistency, the expectation is that either there's no encryption key (empty sequence), or the expected one is in the sequence. Creating the SHA256 uses the crypto::NSSInitializer component, which is in xsec_xmlsec.dll, which is linked to libxmlsec-mscng.dll, which is linked to Win32 bcrypt.dll, which doesn't have BCryptKeyDerivation on Windows 7; to reproduce elsewhere, rm instdir/program/libxsec_xmlsec.so (regression from commit |
||
---|---|---|
.. | ||
dtd | ||
inc | ||
qa | ||
source | ||
util | ||
CppunitTest_package2_test.mk | ||
IwyuFilter_package.yaml | ||
Library_package2.mk | ||
Library_xstor.mk | ||
Makefile | ||
Module_package.mk | ||
Package_dtd.mk | ||
README.md |
ZIP Support
Reading and writing ZIP files.