Bug 467594 - Okular cant get find certificate from NSS certificate data base of Mozilla Firefox
Summary: Okular cant get find certificate from NSS certificate data base of Mozilla Fi...
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 22.12.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-20 01:42 UTC by rana
Modified: 2023-04-22 15:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rana 2023-03-20 01:42:16 UTC
SUMMARY
***
I'm trying to configure Okular to be able to do digital signature. I do have Class III organization DSC token.
I'm able to configure it to work in firefox and Libreoffice. It's working properly.
but okular refused to detect any certification.
I'm using a E-Mundhra DSC token.
***
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 5.15.94-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Timi
Product Name: TM1703
System Version: XMAKB3M0P120C
Comment 1 Albert Astals Cid 2023-03-20 11:48:17 UTC
Does

pdfsig -list-nicks 

show the certificate?
Comment 2 rana 2023-03-20 11:54:53 UTC
(In reply to Albert Astals Cid from comment #1)
> Does
> 
> pdfsig -list-nicks 
> 
> show the certificate?

its output this
❯ pdfsig -list-nicks
NSS_Init failed: security library: bad database.
There are no certificates available.

but I can use LibreOffice to sign my document.
Comment 3 rana 2023-03-20 12:00:19 UTC
(In reply to Albert Astals Cid from comment #1)
> Does
> 
> pdfsig -list-nicks 
> 
> show the certificate?

here is link of video
https://drive.google.com/file/d/1Fr2FRXLoC5hMA6PZfKptK2AlaG5qYXNa/view?usp=share_link
Comment 4 Bug Janitor Service 2023-04-04 03:45:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-04-19 03:45:51 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 6 Albert Astals Cid 2023-04-22 15:05:59 UTC
Sorry i forgot to followup this, if pdfsig is not showing the certificate is because the default guessed certificate path is wrong, go to the settings and select the correct one for you, there's not really much more we can do there.