Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-04-06 Thread zyx
On Thu, 2014-04-03 at 11:43 +0200, Andreas Brzesowsky wrote: Because if the patch is applied correctly the error message Error AES-decryption data length not a multiple of the key length does not exists anymore In the patch are these lines: -if( lLen % keyLen != 0 ) -

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-04-03 Thread Andreas Brzesowsky
Hi, that's weird. Because if the patch is applied correctly the error message "Error AES-decryption data length not a multiple of the key length" does not exists anymore In the patch are these lines: - if( lLen % keyLen != 0 ) -

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-04-01 Thread zyx
On Mon, 2014-03-31 at 14:05 +0200, Andreas Brzesowsky wrote: okay now I have the patch for AESv3 decryption finished: Hi, thanks a lot for the follow-up. I applied your patch to trunk and run the test program I sent earlier [1], which creates some encrypted PDF files in PoDoFo and then

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-31 Thread Andreas Brzesowsky
Am 11.03.2014 08:50, schrieb zyx: By the way, would you mind to look on AESv3 too? As you mentioned earlier, with AESv2 being done the AESv3 should not be a big problem, and you have the code fresh in your mind, thus it might be even easier for

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-17 Thread Andreas Brzesowsky
Am 11.03.2014 08:50, schrieb zyx: By the way, would you mind to look on AESv3 too? Maybe yes, if I find some time for it. But before I have an other patch: My last patch should handle multiple XRef object for encrypted PDFs. But it breaks merged unencryted

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-11 Thread zyx
On Mon, 2014-03-10 at 17:59 +0100, Andreas Brzesowsky wrote: I have now got some AESV2 encrypted PDF, that are created with Acrobat X. These currently crash in PoDoFo because they have multiple XRef streams and XRef streams are never encrypted. But in PdfParser::ReadObjectsInternal m_pEncrypt

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-10 Thread Andreas Brzesowsky
Hi, thank you very much. I have now got some AESV2 encrypted PDF, that are created with Acrobat X. These currently crash in PoDoFo because they have multiple XRef streams and XRef streams are never encrypted. But in PdfParser::ReadObjectsInternal m_pEncrypt

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-09 Thread zyx
On Fri, 2014-03-07 at 15:01 +0100, zyx wrote: I'll test the functionality during the weekend, the most at the beginning of the next week, and let you know. Hello, I created a little test program for the encryption (see the attached test.cpp), which is testing all encryption algorithms.

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-07 Thread zyx
On Fri, 2014-03-07 at 14:05 +0100, Andreas Brzesowsky wrote: I think a have fixed them and created a new patch. Please send me the errors if you still have some. Hi, thanks for the update, it compiles cleanly now. I'll test the functionality during the weekend, the most at the beginning

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-06 Thread Dominik Seichter
Hi Andreas, Hi zyx, Andreas, thanks for your fixes and updates. @zyx: Could you please review them and maybe commit them to the repository? I don't have any time right now to follow patches. Best regards, Dominik On Wed, Mar 5, 2014 at 6:11 PM, Andreas Brzesowsky andreas.brzesow...@dots.de

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-03-06 Thread zyx
On Thu, 2014-03-06 at 09:11 +0100, Dominik Seichter wrote: Andreas, thanks for your fixes and updates. @zyx: Could you please review them and maybe commit them to the repository? I don't have any time right now to follow patches. Hi, sure thing, I'll be glad to help. I applied the

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-02-26 Thread zyx
On Tue, 2014-02-25 at 14:25 +0100, Andreas Brzesowsky wrote: I have added some code to decode AESV2 InputStream, some fixes for RC4 decoding and handling of the EncryptMetadata flag for RC4 and AESV2. So some more encrypted pdf could be handled by PoDoFo. I want to contribute my changes.

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-02-25 Thread Andreas Brzesowsky
Hi, I have added some code to decode AESV2 InputStream, some fixes for RC4 decoding and handling of the EncryptMetadata flag for RC4 and AESV2. So some more encrypted pdf could be handled by PoDoFo. I want to contribute my changes. Are there any rules like

Re: [Podofo-users] what is the status of AES Decrypt/Encrypt

2014-02-04 Thread Palmer Zent
PoDoFo 0.9.2 does support AESV2 and AESV3 encryption. Some work is still needed on the decryption part though. I don’t believe anyone has plans to make this work any time soon, but contributions are welcome. Palmer Zent On Feb 2, 2014, at 11:53 AM, Ilan Zisser ilanzis...@gmail.com wrote: Hi,