Closed GoogleCodeExporter closed 8 years ago
Hello,
when you call PDF.read(), Origami automatically detects that the document is
encrypted and tries to decrypt it with a blank password (or with the password
passed through the :password switch of the read method).
So the document was actually already decrypted and readable. The call to
decrypt is actually almost never necessary (maybe I should set it as private).
In that case, Origami was trying to decrypt the already decrypted data.
I added a check so that doesn't happen again in the future. But you can remove
the call to PDF#decrypt on your side.
Guillaume
Original comment by guilla...@security-labs.org
on 8 Apr 2013 at 8:59
Original issue reported on code.google.com by
j...@theberlin6.com
on 5 Mar 2013 at 9:03Attachments: