[Libreoffice-bugs] [Bug 112104] New: Digital signature of .odt files with with hardware token (Hungarian eID) is not working
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 30 12:49:53 UTC 2017
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: libreoffice-bugs at lists.freedesktop.org
Reporter: daniel.sutto at idomsoft.hu
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
(eszemelyi-szerver at bm.gov.hu) or directly by Idomsoft
(eid-szerver at idomsoft.hu).
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170830/ac274689/attachment.html>
More information about the Libreoffice-bugs
mailing list