[okular] [Bug 504853] New: Endless loop asking for a certificate password when signing a document

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue May 27 11:41:09 BST 2025


https://bugs.kde.org/show_bug.cgi?id=504853

            Bug ID: 504853
           Summary: Endless loop asking for a certificate password when
                    signing a document
    Classification: Applications
           Product: okular
      Version First 25.04.1
       Reported In:
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: bugs.kde.org.ripening956 at passinbox.com
  Target Milestone: ---

SUMMARY
The signing dialog that is accessible from "Tools>Digitally Sign..." repeatedly
asks for a certificate password even though the certificate doesn't have any,
and the user enters nothing.

STEPS TO REPRODUCE
1. Open a PDF
2. Select "Tools>Digitally Sign..."
3. Click "OK"

OBSERVED RESULT
The application goes into an endless loop asking for a certificate password

EXPECTED RESULT
Since no certificate is selected, either disable the "OK" button or select the
first certificate at dialog init.

SOFTWARE/OS VERSIONS
Okular: 25.04.1
KDE Frameworks: 6.14.0
Qt: Using 6.9.0 and built against 6.9.0
Manjaro Linux (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.12.28-1-MANJARO


ADDITIONAL INFORMATION
The bug is not present if one selects a certificate from the list, in my case
the certificate I have in the NSS database.
This is the location of the loop:
https://github.com/KDE/okular/blob/b1d97424246e43a230a2875458eab28231028abc/part/signaturepartutils.cpp#L223

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list