modesty / pdf2json

converts binary PDF to JSON and text, for server-side PDF processing and command-line use.

Home Page:https://github.com/modesty/pdf2json

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No way for consumer to handle crypto related errors when calling loadPdf()

thealexbaron opened this issue · comments

Currently base/core/crypto.js calls error() on errors. There is no callback for catching these errors, and the errors don't emit to pdfjs_parseDataError.

Here is the PDF causing the error: https://drive.google.com/file/d/0B3yADm5p-GRCRExYVXFjTnhvQ2c/view?usp=sharing

fixed in v1.1.1.