https://bugs.documentfoundation.org/show_bug.cgi?id=112104

            Bug ID: 112104
           Summary: Digital signature of .odt files with with hardware
                    token (Hungarian eID) is not working
           Product: LibreOffice
           Version: 5.4.0.3 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I try to digitally sign LibreOffice documents using the Hungarian eID. Signing
of pdf documents works properly, but LibreOffice crashes when signing an .odt.


It is possible to sign both document types with software keys (pkcs#12) using
the same signature altorithm.

I was using Debian testing/buster (amd64) image.

Steps to Reproduce:
1. Install middleware application (eSzemélyi Kliens)
2. Load /usr/bin/eszig-pkcs11.so as Secuirty Device in Firefox preferences
3. Create a simple document with Writer, save it.
4. Open Digital Signatures dialog (File->Digital Signatures->Digital
Signatures)
5. Click Sign Document, enter eSign PIN of the previously connected eID card.
6. Select certificate and click OK

Actual Results:  
Libre Office crashes before any command is sent to the card.

Expected Results:
The document should have been signed.


Reproducible: Always

User Profile Reset: No

Additional Info:
If the document is exported as pdf, and File->Digital Signatures->Sign existing
pdf is selected, the PAdES digital signature can be added to the pdf document.

Hungarian eID is a hardware based token, PKCS#11 library is installed as a part
of "eSzemélyi Kliens", which can be downloaded from
https://eszemelyi.hu/letoltesek

Sample card can be provided by Ministery of Interior
([email protected]) or directly by Idomsoft
([email protected]).


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101
Firefox/55.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to