summaryrefslogtreecommitdiff
path: root/xmlsecurity/AllLangMoTarget_xsc.mk
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-10-27 14:15:17 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-11-02 12:05:07 +0100
commit369b883ac9cda5acae77e6df9edc00d1f1213b10 (patch)
tree42f39c808aa0b28330cb52a6f184e1e2135e86c2 /xmlsecurity/AllLangMoTarget_xsc.mk
parent2dc90967977617f58a9d47e6ae89175919eef4b2 (diff)
xmlsec: signing the document fails the 3rd time (invalid signature)
Signing the document 3 or more times produces an invalid signature. The cause of this is that xmlsec is confused because we have 3 signatures, which all have the same SignedProperties with the ID "idSignedProperties", but it expect them to be unique. This issue is fixed by making the ID unique with adding the ID of the Signature to the SignedProperties ID, so this makes them unique inside the same Signature. Also UnsignedProperties have a unique ID usign the same approach, but they aren't referenced - luckily. Change-Id: I53c7249a82fc0623586548db9fa25bdc0e7c4101 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124278 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit fd5463343ab7f784070f1ab87a345eed20803d07) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124197 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'xmlsecurity/AllLangMoTarget_xsc.mk')
0 files changed, 0 insertions, 0 deletions