Bug 412856 - Okular prompts for password when none is needed for display
Summary: Okular prompts for password when none is needed for display
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 1.3.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-11 16:58 UTC by Ingo
Modified: 2019-10-24 18:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo 2019-10-11 16:58:43 UTC
SUMMARY
I have a PDF where a password is used to protect against editing. But the password is not needed for display only. This file cannot be opened in okular on my system.

STEPS TO REPRODUCE
1. Open https://www.bgfg.de/fileadmin/bgfg/Geschaeftsberichte/Geschaeftsbericht_2018_BGFG_Jahrbuchteil_END-Doppelseiten-WEB.pdf in okular
2. Click "cancel" when asked for password

OBSERVED RESULT
Error is shown that the file cannot be opened

EXPECTED RESULT
The file should be displayed and there should be no password prompt.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap 15.0
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.4

ADDITIONAL INFORMATION
Opening the file with Master PDF Editor in the same machine or with Adobe Reader on another PC does not prompt for a password and displays the file just fine.

In an earlier bug (https://bugs.kde.org/show_bug.cgi?id=365460) there was mention of poppler, so here are all installed poppler RPMs with version:
libpoppler73-0.62.0-lp150.2.5.x86_64
libpoppler-glib8-0.62.0-lp150.2.5.x86_64
libpoppler-qt5-1-0.62.0-lp150.2.3.x86_64
poppler-data-0.4.8-lp150.1.3.noarch
poppler-tools-0.62.0-lp150.2.5.x86_64
Comment 1 Ingo 2019-10-12 11:00:52 UTC
BTW, it also happens on a newer system with

SOFTWARE/OS VERSIONS
okular: 1.6.3
Linux/KDE Plasma: openSUSE Leap 15.1
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0
Qt Version: 5.9.7
libpoppler73-0.62.0-lp151.3.4.x86_64
libpoppler-glib8-0.62.0-lp151.3.4.x86_64
libpoppler-qt5-1-0.62.0-lp151.3.4.x86_64
poppler-data-0.4.8-lp151.2.1.noarch
poppler-tools-0.62.0-lp151.3.4.x86_64
Comment 2 Yuri Chornoivan 2019-10-12 11:31:08 UTC
Yes. It happens for poppler git/master and okular git/master.

I think it's a poppler issue.
Comment 3 Albert Astals Cid 2019-10-15 22:39:05 UTC
This is a poppler bug, please report upstream at https://gitlab.freedesktop.org/poppler/poppler/issues
Comment 4 Ingo 2019-10-24 18:20:08 UTC
This is the bug in the poppler issue tracker: https://gitlab.freedesktop.org/poppler/poppler/issues/832

It got closed today, so their fix should be available soon.