[okular] [Bug 474888] Signing requires (empty) password in document that has password-restriction for modification
Albert Astals Cid
bugzilla_noreply at kde.org
Wed Dec 13 23:07:29 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=474888
Albert Astals Cid <aacid at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aacid at kde.org
--- Comment #3 from Albert Astals Cid <aacid at kde.org> ---
(In reply to Nicolas Fella from comment #2)
> The prompt comes from
> https://invent.kde.org/graphics/okular/-/blob/master/part/signaturepartutils.
> cpp#L409
>
> DocumentHasPassword comes from
> https://invent.kde.org/graphics/okular/-/blob/master/generators/poppler/
> generator_pdf.cpp#L1593
>
> The assumption seems to be that if the document is encrypted we need the
> password to *read* it, but that's not the case here
Yeah, DocumentHasPassword implementation needs to be changed to something like
"did call to init had a non empty password variable"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list