[okular] [Bug 459173] New: Cannot use USB smartcard to sign document

Syiad bugzilla_noreply at kde.org
Thu Sep 15 18:10:02 BST 2022


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 at kde.org
          Reporter: syiad.al-duri at 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.


More information about the Okular-devel mailing list