Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 04-15-2014, 05:08 AM   #1
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80520
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
Manichean is offline   Reply With Quote
Old 04-15-2014, 08:18 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,325
Karma: 4964183
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Have you tried PDFtk?

See this too.
Jellby is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Password Protection tshering Kobo Developer's Corner 3 04-06-2014 01:38 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


All times are GMT -4. The time now is 01:17 PM.


MobileRead.com is a privately owned, operated and funded community.