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

Albert Astals Cid bugzilla_noreply at kde.org
Wed Apr 3 16:59:53 BST 2024


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

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/okular/-/commit/ea243a |hics/okular/-/commit/013976
                   |2a03f9249c3fc36bdbcdb71d987 |69c997a6100002c69dc528a9229
                   |de064ce                     |070450a

--- Comment #6 from Albert Astals Cid <aacid at kde.org> ---
Git commit 01397669c997a6100002c69dc528a9229070450a by Albert Astals Cid, on
behalf of Nicolas Fella.
Committed on 03/04/2024 at 15:59.
Pushed by aacid into branch 'release/24.02'.

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.
(cherry picked from commit ea243a2a03f9249c3fc36bdbcdb71d987de064ce)

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

https://invent.kde.org/graphics/okular/-/commit/01397669c997a6100002c69dc528a9229070450a

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


More information about the Okular-devel mailing list