ANN: Python Decrypt PDF script -- builds on pdftools

David Boddie davidb at mcs.st-and.ac.uk
Fri Aug 20 07:50:12 EDT 2004


follower at gmail.com (Follower) wrote in message news:<mailman.1868.1092839116.5135.python-announce-list at python.org>...

> I wanted to extract the meta-data from an encrypted/protected PDF file
> and could not find any Python scripts to do this. So, I decided to
> write something myself, the result follows.
> 
> This demonstration utility requires the `pdftools` files from
> <http://www.boddie.org.uk/david/Projects/Python/pdftools/> but the
> decryption functions themselves should be usable with other Python PDF
> libraries.

I'm glad that someone found the tools useful. :-)
Unfortunately, I couldn't find any protected PDF files to test your script
out on. Can you provide some URLs?

> Documentation is marginal and all I can say is that worked on the
> three PDF files I tested it on... :-)

Do you want to supply a patch for pdftools to allow these sorts of files
to be supported transparently?

David



More information about the Python-list mailing list