Bug 157725 - Signing a PDF has no visible effect, signature is not listed
Summary: Signing a PDF has no visible effect, signature is not listed
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.4.5.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Signature
  Show dependency treegraph
 
Reported: 2023-10-12 13:11 UTC by Yves57
Modified: 2024-04-25 03:16 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yves57 2023-10-12 13:11:04 UTC
As in bug 94903 , I try to apply a digital signature to a PDF file, but this one doesn't add itself to the document.
1. trying to sign the document
2. pressing "sign document" button in the banner
3. the "choose certificate" dialog comes up with (correct)
4. pressing another "sign document..." button
5. a dialogue ask for PIN number
6. a window lists certificat X.509 with one entry with my name
7. choosing the certificate and pressing "Sign".
8. the window of step 3. comes back, nothing happens, no signature is listed

I would expect that at step 8 a signature is listed in the dialogue.
Digital certificates is on a USB key and is configured inside Firefox. It uses Feitian SCR301 device with Gemalto chip. It is working inside Firefox and Chromium.
No error is reported in console.
What can I try else?

My system is Mageia 8 with Libreoffice provided by the distro.
Comment 1 Yves57 2023-10-12 13:49:19 UTC
I then installed the 7.6.2.1 release.
When I opened my document, I see that there several signatures I already added.
However, I have a warning that this signature could be not valid.
"At least one signature has problems: the certificate could not be validated."
The document had already another signature, thus I don't know which signature could be invalid.

Incidentally, the Remove button has no effect.
Comment 2 Stéphane Guillou (stragu) 2023-10-27 15:23:45 UTC
Thank you for the report, Yves.

So your original issue described in Comment 0 (no signature listed) seems to be fixed. Is that correct? You can sign a PDF with a x.509 certificate and see it listed in the dialog with LO 7.6.2.1?

Regarding your comment 1, looks like there's two issues:
- signature can't be validated
- signature can't be removed

Please test with 7.6.2.1 from a brand new document, export to PDF, sign that PDF with the x.509 certificate, and see if it can be validated and removed.

Please also share your full version information from Help > About LibreOffice.

Much appreciated!
Comment 3 QA Administrators 2024-04-25 03:16:30 UTC
Dear Yves57,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
 
Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping