diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-11-01 21:46:43 +0100 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-11-03 15:05:55 +0100 |
commit | f8efc48e1d8f7b72ecb69d41479ea906a9400009 (patch) | |
tree | 20754cca946ea3a4bec048e9af4eb9a7836ee901 /configure.ac | |
parent | efa48f7318175feefc5fb6c243a237f09e059b1e (diff) |
xmlsec: fix OOXML signing with multiple certs, extend the test
Signing OOXML with 3 or more times didn't work as other ids
("idPackageObject", "idOfficeObject", ...) were not uniqe. This
change makes those ids unique by appending the signature id. The
signature ID is now generated for OOXML too, while previously it
was a hardcoded string ("idPackageSignature").
The test for signing multiple OOXML was written before, but didn't
catch the issues because it didn't assert the status of the
document after loading it again. This is which is now fixed (and
also added changed for the ODF test case).
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124571
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit f2e1e4ff085962a08a5d7738325b383c07afcbbd)
Change-Id: Ifa20ea17498b117a4c57f6eddf82f8e83bc640bc
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions