> In other words, use a different encryption method. See the previous > mails in this thread for a hint.
Ok, the problem is, i can encrypt the PDF correctly, but i cannot open the PDF with the password „owner“: encrypt = PdfEncrypt::CreatePdfEncrypt("", "owner", 0, PdfEncrypt::ePdfEncryptAlgorithm_AESV2, PdfEncrypt::ePdfKeyLength_128); I compile podofo with these options: /* Libraries */ #define PODOFO_HAVE_JPEG_LIB #define PODOFO_HAVE_PNG_LIB #define PODOFO_HAVE_TIFF_LIB #define PODOFO_HAVE_OPENSSL #define PODOFO_HAVE_OPENSSL_1_1 #define PODOFO_HAVE_OPENSSL_NO_RC4 -- Grüße/Regards, [heubach-media] | Christian Sakowski christian.sakow...@heubach-media.de Tel: +49/(0)40/41 455 455 > Am 02.02.2022 um 08:29 schrieb zyx <z...@gmx.us>: > > On Tue, 2022-02-01 at 15:15 +0100, Christian Sakowski wrote: >> Now i compiled with OpenSSL RC4. But EVP_EncryptInit_ex fails with >> status=0. >> Podofo throws: ePdfError_InternalLogic, "Error initializing RC4 >> encryption engine“ >> >> Is this issue known? > > Hi, > it's not an issue. RC4 is considered insecure, thus OpenSSL can have it > disabled in the compile time. That's the PODOFO_HAVE_OPENSSL_NO_RC4 > for. > > In other words, use a different encryption method. See the previous > mails in this thread for a hint. > > Bye, > zyx > > > _______________________________________________ > Podofo-users mailing list > Podofo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/podofo-users _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users