Summary: | Can't import certificates to digitally sign in Okular, it gives "NSS_Init failed: security library: bad database" | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Allexus J <a.geno> |
Component: | PDF backend | Assignee: | Scarlett Moore <sgmoore> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, kde, sgmoore |
Priority: | NOR | ||
Version First Reported In: | 24.12.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Allexus J
2025-01-12 14:21:53 UTC
Update: I was finally able to digitally sign my PDF by using Master PDF Editor 5. But I want to know why Okular has this bug. (In reply to Allexus J from comment #1) > Update: I was finally able to digitally sign my PDF by using Master PDF > Editor 5. But I want to know why Okular has this bug. Is your package installed as a distribution package or as a snap package ? (In reply to Sune Vuorela from comment #2) > (In reply to Allexus J from comment #1) > > Update: I was finally able to digitally sign my PDF by using Master PDF > > Editor 5. But I want to know why Okular has this bug. > > Is your package installed as a distribution package or as a snap package ? snap (In reply to Allexus J from comment #3) > (In reply to Sune Vuorela from comment #2) > > (In reply to Allexus J from comment #1) > > > Update: I was finally able to digitally sign my PDF by using Master PDF > > > Editor 5. But I want to know why Okular has this bug. > > > > Is your package installed as a distribution package or as a snap package ? > > snap I know nothing of snaps, but I would expect it needing to configured a 'hole' in the sandboxing to access ~/.pki/nssdb for that. I don't know if that has been set up or not. Scarlett? /Sune Yep, I will have to give the snap access to that file. Will fix asap. I have uploaded fix to stable, unfortunately it has to be approved. https://forum.snapcraft.io/t/kde-okular-snap-personal-files/44643 You must sudo snap connect okular:dot-pki-nssdb :personal-files and it will work. |