Closed earthlingworks closed 1 year ago
Thanks for the report - did you send the file?
Also, this may be related to #233.
Oops..completely forgot, thanks will send now!
Thanks for the file!
The problem here is that an AES encrypted string or stream should at least contain the initialization vector having 16 bytes and the padding. But the file has streams that are just empty.
To fix this HexaPDF will now check for empty string/streams which fixes the problem.
Great, thank you!
Hello, we have a new error, a bit weird, on a PDF.
Error:
AES initialization vector length must be 128 bit (HexaPDF::EncryptionError)
Context is we're a couple of PDFs and making them into a single PDF. I'll send the PDF through email.
Script to reproduce (which basically just takes the same PDF imports it into a single file):