[okular] [Bug 474888] Signing requires (empty) password in document that has password-restriction for modification

Nicolas Fella bugzilla_noreply at kde.org
Wed Apr 3 00:33:40 BST 2024


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

Nicolas Fella <nicolas.fella at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/okular/-/commit/ea243a
                   |                            |2a03f9249c3fc36bdbcdb71d987
                   |                            |de064ce
         Resolution|---                         |FIXED

--- Comment #5 from Nicolas Fella <nicolas.fella at gmx.de> ---
Git commit ea243a2a03f9249c3fc36bdbcdb71d987de064ce by Nicolas Fella, on behalf
of Nicolas Fella.
Committed on 02/04/2024 at 11:04.
Pushed by aacid into branch 'master'.

Fix DocumentHasPassword check

A document can be encrypted without requiring a password to open/sign it.

Currently we assume we need a password to sign it for such documents, but
that's not correct.

Instead of checking whether the document is encrypted remember whether
we needed a password for opening.

M  +2    -1    generators/poppler/generator_pdf.cpp
M  +2    -0    generators/poppler/generator_pdf.h

https://invent.kde.org/graphics/okular/-/commit/ea243a2a03f9249c3fc36bdbcdb71d987de064ce

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


More information about the Okular-devel mailing list