Bug 89217 - PDF signing doesn't work
Summary: PDF signing doesn't work
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 01:10 UTC by Lukas Jelinek
Modified: 2016-09-13 04:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Error dialogs (16.22 KB, image/png)
2015-02-08 01:10 UTC, Lukas Jelinek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jelinek 2015-02-08 01:10:02 UTC
Created attachment 113218 [details]
Error dialogs

An attempt to create a signed PDF file fails. The certificate is valid and is routinely used to sign PDF files (e.g. by JSignPdf or some accounting software).

Steps to reproduce:
1) Start Writer, Calc or Impress (a new document is created).
2) Create some content in the document.
3) Open the PDF export dialog (File -> Export as PDF...).
4) At the Digital Signatures tab press the "Select..." button and choose a certificate.
5) Specify the password for the certificate ("Certificate password") and press "Export".
6) Choose the name for the exported PDF file and press "Save".

Expected result:
The document is exported into a signed PDF file.

Current result:
Two subsequent error dialogs are displayed (see the attachment) and nothing is exported. These dialogs provide no information about the reason of the failure.

Notes:
- certificate: sha256RSA, public key RSA 2048b
- OS: Windows Vista Home Premium 32bit
Comment 1 Lukas Jelinek 2015-04-03 23:09:20 UTC
I tested it with a recent nightly build (Version: 4.5.0.0.alpha0+
Build ID: 3c6fd5a59b08cec8705a31d17a60204acf6b7173) and still not working. Time stamps have been added but this bug not fixed.
Comment 2 Jean-Baptiste Faure 2015-05-25 16:18:26 UTC
Please, could you test again with current 5.0 beta?

Thank you very much for your help.

Best regards. JBF
Comment 3 raal 2016-05-06 12:49:59 UTC
No repro with version 5.1.1.3, I can export PDF file with certificate. 

Please check with actual version: 
https://www.libreoffice.org/download/libreoffice-fresh/
Thank you
Comment 4 Lukas Jelinek 2016-09-13 00:36:32 UTC
As of 5.2.0/5.2.1 it works well. Probably fixed, thanks. This report may be closed.
Comment 5 Jean-Baptiste Faure 2016-09-13 04:56:18 UTC
(In reply to Lukas Jelinek from comment #4)
> As of 5.2.0/5.2.1 it works well. Probably fixed, thanks. This report may be
> closed.

Thank you, Closing as WorksForMe because we do not know which commit fixed the issue.

Best regards. JBF