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 ) - PODOFO_RAISE_ERROR_INFO( ePdfError_InternalLogic, "Error AES-decryption data length not a multiple of the key length" ); + if( lLen % 16 != 0 ) + PODOFO_RAISE_ERROR_INFO( ePdfError_InternalLogic, "Error AES-decryption data length not a multiple of 16" ); So can you please make sure that the patch is correctly applied. Thanks. Bye Andreas Am 01.04.2014 21:07, schrieb 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 tries to read them, and the AESv3 still fails, this time with a different error:Testing aesv3.pdf: Failed with error: PoDoFo encounter an error. Error: 8 ePdfError_InternalLogic Error Description: An internal error occurred. Callstack: #0 Error Source: .../src/base/PdfParser.cpp:1028 Information: Error while loading object 2 0 Offset = 59 Index = 2 #1 Error Source: .../src/base/PdfEncrypt.cpp:1286 Information: Error AES-decryption data length not a multiple of the key length I hope it helps with a diagnose. Bye, zyx [1] http://sourceforge.net/p/podofo/mailman/message/32079121/ --
Andreas Brzesowsky
dots Software GmbH http://www.dots.de
Amtsgericht (District Court): Berlin Charlottenburg HRB 65201
|
------------------------------------------------------------------------------
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users