-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to open the password protected file with pdf.js? #1228
Comments
@tamillarasan, I don't think we pass password stuff to the worker. That means, the worker can't open the PDF file :/ Can you hack it for the worker as well and see if that works then? |
I'm using the pdf.js add-on with Firefox 12 (beta) on Ubuntu 11.10. I can open password-protected files saved to my PC using Evince but not with the pdf.js add-on. In "more information", I see "PDF.JS Build: 6833f64 I can open simple files which are not password-protected without any problem. |
Please note that I wasn't asked to enter the password even though part of the "more information" cites "Message: incorrect password" near the top. |
Hi, devs. Can you implement a nice error message first? Like, "PDF with password protection is not supported yet." |
shall be resolve by the pull request above |
Hi
Thanks for this great project.
I want to use pdf.js to open password protected files. I tried opening the password protected file and got the error saying "Incorrect password". I tried providing the password directly in the code by passing it as an argument to PDFDocModel setup(), still receiving the same error. Is there any way to provide password for opening the pdf file?
Or Is this feature currently supported by pdf.js?
The text was updated successfully, but these errors were encountered: