<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Invalid multiple XAdES Digital Signature in LibreOffice 7.0"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135604#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Invalid multiple XAdES Digital Signature in LibreOffice 7.0"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135604">bug 135604</a>
              from <span class="vcard"><a class="email" href="mailto:javatask@gmail.com" title="Andrii Melashchenko <javatask@gmail.com>"> <span class="fn">Andrii Melashchenko</span></a>
</span></b>
        <pre>My assumption was proven by DSS team: their comment 

The problem is that both signatures in your file contain references to
SignedProperties with the same Id "idSignedProperties". Conversely, the element
with the Id "idSignedProperties" itself is present in the file two times. This
is not valid XML structure and an identifier cannot be duplicated in a file.
Because of this the DSS validation correctly fails with the result
SIGNED_DATA_NOT_FOUND (unable to determine the referenced object).



By default DSS creates a unique deterministic identifier for each signed
element, including SignedProperties. This allows avoiding of conflicts between
references. In the attachment you can find an example of a valid double-signed
ODT document created with DSS.

I hope this clarifies.


Best regards,

Aleksandr.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>