Hi René,

You can check the encrypted status using PdfParser::QuickEncryptionCheck.
Apart from that, I think we have to disable the AES routines in PoDoFo until 
the crash is resolved.

Best regards,
        Dom

Am Freitag 28 Mai 2010 schrieb René Pfeiffer:
> On May 21, 2010 at 1515 +0200, René Pfeiffer appeared and said:
> > On May 21, 2010 at 1318 +0200, René Pfeiffer appeared and said:
> > > Is there a way to skip the decryption part? The text indexer code runs
> > > unattended, so there is no way to query for passphrases while
> > > indexing/converting the documents.
> >
> > Ok, please disregard my question. I am using the PdfMemDocument
> > constructor to read the document and extract the meta information.
> > I'll try what the constructor has to say to encrypted PDFs. :)
> 
> I tried and both podofopdfinfo and my code that calls GetTitle() of the
> PdfInfo class. In both cases I get a segmentation fault. Apart from this
> being undesirable I am thinking if it's possible to have the library not
> inspect an encrypted PDF document (maybe controlled by an option). My
> indexer code runs unattended, so there's no way of providing
> passphrases.
> 
> Is there a way of detecting PDF encryption without triggering the code
> part that causes the segfault?
> 
> Best wishes,
> René.
> 


-- 
**********************************************************************
Dominik Seichter - [email protected]
KRename  - http://www.krename.net  - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game,  for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------

_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to