04-15-2014, 05:08 AM | #1 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Removing PDF Password Protection
Hi,
this is not exactly ereading- related, but anyway... I regularly have to remove the password from 200-300 PDF files. The password is known and the files legally obtained (no books), and I have to remove it Because Of Reasons. Since I'm somewhat proficient in Python, I tried using that. I wrote a script that tries to remove the password using pyPdf, however, the script terminates with the exception "only algorithm code 1 and 2 are supported". I couldn't, on first glance, find any other Python PDF libraries that seem to support removal of the password. Does anyone know of any Python library (or any other scriptable tool) that supports removal of PDF passwords for known passwords? Thanks in advance, Manichean |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Password Protection | tshering | Kobo Developer's Corner | 20 | 06-17-2017 01:14 PM |
Unbreakable password protection? | Freakstone | Kindle Developer's Corner | 0 | 04-20-2011 03:48 PM |
PDF files with password protection | juansconnected | Kobo Reader | 1 | 01-14-2011 05:48 PM |
Any password protection? | KlondikeGeoff | Amazon Kindle | 3 | 01-20-2008 11:42 AM |