Bug 223764 - Can't enter empty user password for pdf files with only owner password set
Summary: Can't enter empty user password for pdf files with only owner password set
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 10:52 UTC by Diego Zuccato
Modified: 2010-02-20 00:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Owner password is set, user password is not (32.54 KB, application/pdf)
2010-01-27 08:53 UTC, Diego Zuccato
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Zuccato 2010-01-22 10:52:36 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Mandriva RPMs

I often receive pdf files where user password is empty (but owner password is set and kept secret, to be used as a sort of "signature").
Too bad it seems Konqueror doesn't test the empty password before asking for one. And the dialog requires that at least one character is used. As a result, the file can't be opened.

It could probably be enough to accept empty passwords in the dialog, even if completely avoiding the dialog could be better.

On the same file, xpdf doesn't ask anything.
Comment 1 Albert Astals Cid 2010-01-27 00:04:04 UTC
Can we have the file?
Comment 2 Diego Zuccato 2010-01-27 08:53:22 UTC
Created attachment 40282 [details]
Owner password is set, user password is not

Here is a file that triggers password request (modified to hide sensitive content). Password dialog should accept empty password iff either user or owner password is empty.
Comment 3 Albert Astals Cid 2010-02-20 00:41:06 UTC
This is actually a poppler bug. Poppler is the library Okular uses to handle PDF documents. I'm closing this bug since it's not Okular fault. Please go to http://bugs.freedesktop.org/ and file a bug there against the poppler product.

Thanks for reporting and sorry for the delay in answering.