SK-Yang / peepdf

Automatically exported from code.google.com/p/peepdf
GNU General Public License v3.0
0 stars 0 forks source link

Exception when opening RC4 encrypted PDF #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
peepdf will raise exception when opening the sample.pdf in attachment because 
it does not handle key P in standard encryption dictionary properly. The 
rc4.patch in attachment can fix this problem.

Original issue reported on code.google.com by czchen on 21 Oct 2011 at 1:10

Attachments:

GoogleCodeExporter commented 9 years ago
Hi! First, thanks for the issue. I can decrypt the file without errors, but I 
think it's because of the Python version. In 2.6 there is no error when 
performing that instruction but I can see a DeprecationWarning. Fixed now. 
Thanks!

Original comment by josemigu...@gmail.com on 25 Oct 2011 at 9:19