<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Crash when trying to digitally sign an ODT using aHungarian eID card"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=109180">109180</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash when trying to digitally sign an ODT using aHungarian eID card
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kelemeng@ubuntu.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=134698" name="attach_134698" title="Backtrace of the crash">attachment 134698</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=134698&action=edit" title="Backtrace of the crash">[details]</a></span>
Backtrace of the crash

I just got myself a new Hungarian eID card with digital signature capability.

Using this client software: <a href="http://www.kekkh.gov.hu/Eszemelyi/letoltesek">http://www.kekkh.gov.hu/Eszemelyi/letoltesek</a>
I managed to make the certificate appear in Firefox and LO on Ubuntu 14.04.

The problem is that signing a simple ODT file using this certificate results in
a crash with these lines on the console:

warn:xmlsecurity.xmlsec:15335:1:xmlsecurity/source/xmlsec/errorcallback.cxx:48:
xmltree.c:685: xmlSecAddIDs() '' '' 12 'invalid data for 'id':
actual='idSignedProperties' and expected unique id (id already defined)'
warn:xmlsecurity.xmlsec:15335:1:xmlsecurity/source/xmlsec/errorcallback.cxx:48:
digests.c:207: xmlSecNssDigestVerify() 'sha256' '' 12 'data and digest do not
match'

GDB backtrace is attached.</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>