https://bugs.kde.org/show_bug.cgi?id=435260
Bug ID: 435260 Summary: Strange checking for signing bounds Product: okular Version: 20.12.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: mcp...@altlinux.org Target Milestone: --- Created attachment 137267 --> https://bugs.kde.org/attachment.cgi?id=137267&action=edit signed PDF SUMMARY As far as I can see in the code, only byteRange.last() and byteRange.first() are used. That's strange because of: $ pdfsig ul-1172651010388-20210402102439.pdf Internal Error (0): couldn't find default Firefox Folder Digital Signature Info of: ul-1172651010388-20210402102439.pdf [...] - Signed Ranges: [0 - 23225], [31227 - 167454] Signed Ranges becomes in pairs. Thus, when getting signed data, okular will treat the whole PDF file to be signed, which is not the case. I'm preparing a patch now, which will get this issue solved. -- You are receiving this mail because: You are the assignee for the bug.