Bug 159679 - pdf digital signature, fails to access to the list of my openpgp signature in kleopatra
Summary: pdf digital signature, fails to access to the list of my openpgp signature in...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-11 07:49 UTC by promeneur
Modified: 2024-04-25 03:16 UTC (History)
0 users

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 promeneur 2024-02-11 07:49:57 UTC
openSUSE Tumbleweed
LibreOffice 7.6.4.1

With Draw I try to digital sign a pdf with 

digital signature > signing an existing pdf > sign the document > select the document > start the certificate manager > sign the document > select the certificate

The window of the list of the certificates from kleopatra is empty.

Thus, I can't select a certificate.


The option "digital signature > digital signature" for a .dot file works well.

The windows "select the certicate" supplies all the Kleopatra certificates.

Thus, I can select a certificate and sign the document.
Comment 1 kolAflash 2024-04-24 09:40:22 UTC
Unfortunately the PDF standard doesn't allow OpenPGP signatures. You can only sign PDF files with X.509 certificates.

There's a ticket to add a UI hint that only X.509 keys will work.
bug 115884: PDF signing should mention it only works with x509 certificates

As a workaround you can use KDE-Kleopatra (or directly GPG) to create a signature for the PDF as a separate SIG file. For that open KDE-Kleopatra and choose File->Sign/Encrypt. For further help ask at KDE or GPG.