Bug 137436 - Sign existing PDF doesn't show my certificate (works fine with regular documents)
Summary: Sign existing PDF doesn't show my certificate (works fine with regular docume...
Status: RESOLVED DUPLICATE of bug 113278
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
6.4.6.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-12 22:26 UTC by Marcin Zajaczkowski
Modified: 2020-10-30 04:15 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 Marcin Zajaczkowski 2020-10-12 22:26:31 UTC
Description:
I cannot sign an existing PDF document - my OpenPGP key (managed with GnuPGP) - is not shown. However, it works perfectly fine to sign a newly created (opened in "write mode") document with the same key.

Steps to Reproduce:
0. Have some OpenGPG private key generated and available via GnuPG
1. File → Digital Signature → Sign existing PDF
2. Select and open PDF (can be previously signed or just exported from Writer)
3. Click "Sign Document" button
4. Click "Sign Document..." button
5. Press Cancel (or ESC) on a prompt note for NSS Certificate DB password


Actual Results:
My certificate (an OpenPGP key) is not shown on the "Select Certificate" list.

Expected Results:
I see my OpenPGP key (with signing capabilities).


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
When I create a new document in Write/Calc/Draw and use:
File → Digital Signature → Sign Document...

I see my OpenPGP key and can successfully sign that document. I just don't work with existing PDF files (even those just exported using LibreOffice).

I makes it problematic to (among others) sign the PDF already signed by other parties.

Software information:
Version: 6.4.6.2
Build ID: 6.4.6.2-3.fc32
CPU threads: 12; OS: Linux 5.8; UI render: default; VCL: gtk3; 
Locale: pl-PL (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Timur 2020-10-29 13:55:40 UTC
I didn't really read the report after 1st sentence, because it looks duplicate.

*** This bug has been marked as a duplicate of bug 113278 ***