| Summary: | Endless loop asking for a certificate password when signing a document | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | bugs.kde.org.ripening956 |
| Component: | PDF backend | Assignee: | Okular developers <okular-devel> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | jonathan, kde, kde, luigi.toscano, oliver.sander, richard.palo |
| Priority: | NOR | ||
| Version First Reported In: | 25.04.1 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
bugs.kde.org.ripening956
2025-05-27 10:41:09 UTC
Similar to #486680 but in a newer version of Okular that should have presumably fixed it Are you saying it is a exact replica of the other bug you mentioned? That if you select first, then it works as expected? (In reply to Sune Vuorela from comment #2) > Are you saying it is a exact replica of the other bug you mentioned? That if > you select first, then it works as expected? I would not say so. The steps to reproduce and observations do match. The setup varies: The other bug is about okular deployed with Flatpak, in my setup it's through Archlinux pacman. (In reply to Sune Vuorela from comment #2) > That if you select first, then it works as expected? This is correct If I can give you a couple of pointers, would you be willing to give it a go in trying to fix it ? I'm 95% certain that the selection that is supposed to happen here: https://invent.kde.org/graphics/okular/-/blob/master/part/signaturepartutils.cpp?ref_type=heads#L81 somehow leads to reading it back here: https://invent.kde.org/graphics/okular/-/blob/master/part/signaturepartutils.cpp?ref_type=heads#L207 fails (In reply to Sune Vuorela from comment #5) > If I can give you a couple of pointers, would you be willing to give it a go > in trying to fix it ? sure, let's try Quick drive-by comment: The last working version is 24.12.3. 25.04.0 shows the same erroneous behaviour. I suffered this too, and by chance came to a post somewhere mentioning to check $ cat ~/.pki/nssdb/pkcs11.txt there, I got rid of the *onepin* entry and magically this started acting normal again. (naturally, this presumes you're using nss) Please don't change the "Version first" field on this bug, as that's the first version where the issue was found. Just add a comment here with the version and platform if you can reproduce the same issue. (In reply to Luigi Toscano from comment #9) > Please don't change the "Version first" field on this bug, as that's the > first version where the issue was found. Just add a comment here with the > version and platform if you can reproduce the same issue. Oh, sorry, I was a little confused by the interface. Thank you for letting me know. I can confirm this bug on NixOS with okular 25.08.3. (In reply to Oliver Sander from comment #11) > https://invent.kde.org/graphics/okular/-/merge_requests/1271 Can the people in this bug report confirm that it only happens on the first signing done with okular ever ? (In reply to Sune Vuorela from comment #12) > (In reply to Oliver Sander from comment #11) > > https://invent.kde.org/graphics/okular/-/merge_requests/1271 > > Can the people in this bug report confirm that it only happens on the first > signing done with okular ever ? Yes, it's definitely only the first signing. After you select the cert, it will remain selected, even after restarting Okular / rebooting the system. (In reply to BerriJ from comment #13) > (In reply to Sune Vuorela from comment #12) > > (In reply to Oliver Sander from comment #11) > > > https://invent.kde.org/graphics/okular/-/merge_requests/1271 > > > > Can the people in this bug report confirm that it only happens on the first > > signing done with okular ever ? > > Yes, it's definitely only the first signing. After you select the cert, it > will remain selected, even after restarting Okular / rebooting the system. Thanks for confirming. Then that will likely be fixed when that MR gets reviewed and merged. |