hellerbarde/stapler

Decryption Bug with legacy PyPDF

Opened this issue · 2 comments

If concatenating a bunch of PDFs that are password protected, the legacy pyPdf throws an exception when Password is empty.

With the new PyPDF, I think it just skips the PDF. The Error message thrown by legacy pyPdf is very unhelpful.

Maybe we can catch it and provide a better error message?

Why do you support both pyPDFs anyway?

Distributions that don't have the new one in their repository. That and until now it wasn't a huge hassle on my part.