[okular] [Bug 459174] okular crashes after signature checking
https://bugs.kde.org/show_bug.cgi?id=459174 Syiad changed: What|Removed |Added Status|NEEDSINFO |REPORTED Resolution|WAITINGFORINFO |--- -- You are receiving this mail because: You are the assignee for the bug.
[okular] [Bug 459174] okular crashes after signature checking
https://bugs.kde.org/show_bug.cgi?id=459174 --- Comment #2 from Syiad --- Created attachment 152118 --> https://bugs.kde.org/attachment.cgi?id=152118=edit Output from valgrind --log-file=valgrind.out okular myfile.pdf Funny, it doesn't crash when starting from the command line as 'valgrind --log-file=valgrind.out okular myfile.pdf'. But it does crash when starting as 'okular myfile.pdf'. -- You are receiving this mail because: You are the assignee for the bug.
[okular] [Bug 459174] New: okular crashes after signature checking
https://bugs.kde.org/show_bug.cgi?id=459174 Bug ID: 459174 Summary: okular crashes after signature checking Product: okular Version: 22.04.3 Platform: Kubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: PDF backend Assignee: okular-devel@kde.org Reporter: syiad.al-d...@web.de Target Milestone: --- SUMMARY *** okular crashes every time I check a digital signature of a pdf file on the side panel *** STEPS TO REPRODUCE 1. Open digitally signed pdf file. 2. Click on 'show signature area'. 3. Click on the arrow to the left of the signature info to reveal more details. 4. Close okular. OBSERVED RESULT okular crashes on exit. EXPECTED RESULT okular closes normally. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 22.04 (available in About System) KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION Backtrace: Application: Okular (okular), signal: Segmentation fault [KCrash Handler] #4 0x7f3a3d7818f4 in std::vector, std::allocator > >::_M_erase(__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >) () from /usr/lib/akd/eidmiddleware/pkcs11/libEidPkcs11.so #5 0x7f3a3d75e643 in C_CloseAllSessions () from /usr/lib/akd/eidmiddleware/pkcs11/libEidPkcs11.so #6 0x7f3a8406aa70 in PK11_FreeSlot () from /lib/x86_64-linux-gnu/libnss3.so #7 0x7f3a8406d67c in SECMOD_DestroyModule () from /lib/x86_64-linux-gnu/libnss3.so #8 0x7f3a84034ea4 in ?? () from /lib/x86_64-linux-gnu/libnss3.so #9 0x7f3a84035ab8 in NSS_Shutdown () from /lib/x86_64-linux-gnu/libnss3.so #10 0x7f3a843c34bd in ?? () from /lib/x86_64-linux-gnu/libpoppler.so.118 #11 0x7f3a95440495 in __run_exit_handlers (status=0, listp=0x7f3a95614838 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:113 #12 0x7f3a95440610 in __GI_exit (status=) at ./stdlib/exit.c:143 #13 0x7f3a95424d97 in __libc_start_call_main (main=main@entry=0x55eb3897b4c0, argc=argc@entry=1, argv=argv@entry=0x7ffcc3ab2238) at ../sysdeps/nptl/libc_start_call_main.h:74 #14 0x7f3a95424e40 in __libc_start_main_impl (main=0x55eb3897b4c0, argc=1, argv=0x7ffcc3ab2238, init=, fini=, rtld_fini=, stack_end=0x7ffcc3ab2228) at ../csu/libc-start.c:392 #15 0x55eb3897d5b5 in ?? () [Inferior 1 (process 10829) detached] -- You are receiving this mail because: You are the assignee for the bug.
[okular] [Bug 459173] New: Cannot use USB smartcard to sign document
https://bugs.kde.org/show_bug.cgi?id=459173 Bug ID: 459173 Summary: Cannot use USB smartcard to sign document Product: okular Version: 22.04.3 Platform: Kubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: PDF backend Assignee: okular-devel@kde.org Reporter: syiad.al-d...@web.de Target Milestone: --- SUMMARY *** I have a USB smartcard with my credentials, which I'd like to use to sign pdf files. However, okular keeps asking for the password in an infinite loop, without actually applying a signature. *** STEPS TO REPRODUCE 1. Open document, select 'digitally sign' and draw a rectangle for the signature. 2. Select the certificate (1 of 2) on the smartcard. 3. Enter password -> enter password -> enter password -> ... OBSERVED RESULT okular needs to be killed to get out of the infinite password prompts. EXPECTED RESULT The signature is applied in the drawn rectangle after the password has been entered. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 22.04 (available in About System) KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.13.3 ADDITIONAL INFORMATION Digital signing works OK with a soft certificate (p12 or pfx) imported into the Mozilla certificate store. However, it does not work with the (Gemalto) smartcard, which is also imported into the Mozilla certificate store. The smartcard is using the module /usr/lib/libeTPkcs11.so. Firefox can use the certificate for identification purposes. -- You are receiving this mail because: You are the assignee for the bug.
[okular] [Bug 459174] okular crashes after signature checking
https://bugs.kde.org/show_bug.cgi?id=459174 --- Comment #5 from Syiad --- (In reply to Albert Astals Cid from comment #3) > Meanwhile if you don't need the eidmiddleware thing, uninstalling it should > fix the crash on exit. Unfortunately, I need that. It's the official software for using the Croatian electronic ID card. -- You are receiving this mail because: You are the assignee for the bug.
[okular] [Bug 459174] okular crashes after signature checking
https://bugs.kde.org/show_bug.cgi?id=459174 Syiad changed: What|Removed |Added Resolution|--- |FIXED Status|REPORTED|RESOLVED --- Comment #9 from Syiad --- No more crash with okular 22.08.3 -- You are receiving this mail because: You are the assignee for the bug.
[okular] [Bug 459173] Cannot use USB smartcard to sign document
https://bugs.kde.org/show_bug.cgi?id=459173 Syiad changed: What|Removed |Added Version|22.04.3 |22.12.3 -- You are receiving this mail because: You are the assignee for the bug.
[okular] [Bug 459174] okular crashes after signature checking
https://bugs.kde.org/show_bug.cgi?id=459174 Syiad changed: What|Removed |Added Resolution|FIXED |--- Status|NEEDSINFO |REPORTED --- Comment #7 from Syiad --- I suppose this has been marked as FIXED by mistake. I didn't see any info on how this has been resolved. --> Changed back to REPORTED. -- You are receiving this mail because: You are the assignee for the bug.
[okular] [Bug 459173] Cannot use USB smartcard to sign document
https://bugs.kde.org/show_bug.cgi?id=459173 Syiad changed: What|Removed |Added Version|23.04.3 |23.08.5 --- Comment #7 from Syiad --- Still the case with - okular 23.08.5 - KDE framework 5.115.0 - Qt 5.15.12 - libpoppler-qt5-1 24.02.0 Could this be caused by the fact that the smart card holds *two* certificates? One is for "Digital Signature, Key Encipherment", the other one for "Non-Repudiation". They are both listed as options to choose from for signature, but then okular goes into the infinite loop of asking for the password again and again. Thunderbird also has an issue with the certificates on the smart card. It recognises only one for "Non-Repudiation" as useable for signing e-mails, claiming that there is none suitable for encryption. -- You are receiving this mail because: You are the assignee for the bug.
[okular] [Bug 459173] Cannot use USB smartcard to sign document
https://bugs.kde.org/show_bug.cgi?id=459173 Syiad changed: What|Removed |Added Platform|Gentoo Packages |Kubuntu --- Comment #8 from Syiad --- It seems to be caused by the fact that there are two certificates on the card. Signing documents with okular suddenly worked as advertised, after I accidentally had deleted the one for "Non-repudiation". It's now been restored by the issuer of the card and signing is not possible anymore with okular; it goes into the endless loop of password requests. -- You are receiving this mail because: You are the assignee for the bug.