Created attachment 124504 [details] test file 1 SUMMARY Okular doesn't recognize digital signatures without visible component (visible signature) It is possible to sign PDF without visible signature and Okular can't handle that properly STEPS TO REPRODUCE 1. Open digitally signed PDF (make sure there are signatures w/o visible component) OBSERVED RESULT 1. If there's at least one digital signature with visible component Okular will show it and will omit all others 2. If none of digital signatures has visible component Okular won't show notification that PDF is signed EXPECTED RESULT 1. All digital signatures regardless of visible component should be recognized by Okular SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: OpenSuse (Tumbleweed), Manjaro (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: Qt 5.13.1 ADDITIONAL INFORMATION Two attached documents: 1. Contract.pdf - 3 digital signatures, none of them with visible component 2. The Scrum Guide - 3 digital signatures, 2 with visible component
Created attachment 124505 [details] test file 2
This is actually a bug in poppler Can you please report it here? https://gitlab.freedesktop.org/poppler/poppler/issues You can check it by running pdfsig on those file and seeing that it reports the same signatures Okular does.
Created issue: https://gitlab.freedesktop.org/poppler/poppler/issues/895
Sadly the fix in poppler required new API so that means we also need to change Okular :(
https://invent.kde.org/kde/okular/-/merge_requests/161
Git commit 4b1d85f81bf0df1fdfc86e74ad71e9cf8201092f by Albert Astals Cid. Committed on 13/05/2020 at 21:21. Pushed by aacid into branch 'master'. Show signatures that don't belong to any page in the signature panel Needs poppler 0.88, we "pretend" the belong to page 0 since in Okular core there's no concept of having a signature that doesn't belong to any page M +10 -0 generators/poppler/CMakeLists.txt M +3 -0 generators/poppler/config-okular-poppler.h.cmake M +58 -4 generators/poppler/generator_pdf.cpp M +2 -2 generators/poppler/generator_pdf.h https://invent.kde.org/kde/okular/commit/4b1d85f81bf0df1fdfc86e74ad71e9cf8201092f