ANN: Python Decrypt PDF script -- builds on pdftools

Follower follower at gmail.com
Sat Aug 21 03:32:07 CEST 2004


davidb at mcs.st-and.ac.uk (David Boddie) wrote in message news:<4de76ee2.0408200350.3ccb9c50 at posting.google.com>...
> Unfortunately, I couldn't find any protected PDF files to test your script
> out on. Can you provide some URLs?
I found some examples here (protected/encrypted with no user
password):

 * <http://www.idealsoftware.com/ev_pdf_samples.htm>
 * <http://www.paisano.com/pdf/pdftest.htm>

It also looks like the following GPL'd tool enables you to encrypt
without Adobe tools:

 * <http://www.accesspdf.com/pdftk/>

> Do you want to supply a patch for pdftools to allow these sorts of files
> to be supported transparently?
The code works well enough for me at the moment that my motivation for
taking it further is a little low at the moment, sorry. :-) I'm not
sure how straight-forward it would be to add it transparently, as at a
minimum I think it needs to handle strings and streams differently. I
will keep your request in mind though...

Incidentally, have you considered making the Numeric import in
pdftools optional? I just commented it out and things worked fine for
me as I wasn't actually accessing page content.

Thanks for your work with pdftools.

--Phil.



More information about the Python-list mailing list