|
Rank: Member Groups: Member
Joined: 9/11/2017 Posts: 13
|
According to the product description EO.Pdf fully supports PDF encryption. But I get an exception while opening 128-bit AES encrypted PDF file:
Code: C#
PdfDocument doc = new PdfDocument(inputFileName);
Exception message: Quote:last block incomplete in decryption Stack trace:
Code: C#
at EO.Internal.ap4.a(Byte[] A_0, Int32 A_1)
at EO.Pdf.PdfDocumentSecurity.a(Int64 A_0, Int64 A_1, Stream A_2, Stream A_3, Boolean A_4)
at EO.Internal.vy.a(PdfDocumentSecurity A_0, Int32 A_1, Int32 A_2)
at EO.Internal.akq.a.a(a4v A_0)
at EO.Internal.aj.c(a4v A_0)
at EO.Internal.aj.a(a4v A_0)
at EO.Internal.aj.a(IEnumerable`1 A_0)
at EO.Internal.akq.a(PdfDocumentSecurity A_0)
at EO.Internal.akq.a(Boolean A_0, Boolean A_1, PdfDocumentSecurity A_2)
at EO.Internal.gb.a(Stream A_0, Boolean A_1, Boolean A_2)
I have the issue with the current version 17.2.43.0 of EO.Pdf and in production with older version 17.0.64.0 as well. Opening the same file in Adobe Reader works fine. Unfortunately I can't provide the problematic PDF file at the moment. Does EO.Pdf really fully support PDF encryption? According to other posts the AES encryption support was not complete earlier. What's the problem in this case?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi, It supposes to work but there is a bug that causes this error with some files. We have already fixed this issue internally but the new build is not out yet. If you can send a test file to us we can check it for you and let you know whether it will be fixed in our next build or not. See here for more details on how to send test files to us: https://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|
Rank: Newbie Groups: Member
Joined: 9/25/2017 Posts: 5
|
eo_support wrote:Hi, It supposes to work but there is a bug that causes this error with some files. We have already fixed this issue internally but the new build is not out yet. If you can send a test file to us we can check it for you and let you know whether it will be fixed in our next build or not. See here for more details on how to send test files to us: https://www.essentialobjects.com/forum/test_project.aspxThanks! I have similar issue. When this internal build come out to public? Or it's already goes with build version 9/13/2017 - EO.Total 17.2.75
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi,
Yes. It's already in 17.2.75.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 9/11/2017 Posts: 13
|
My problem was indeed solved in build 17.2.75.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Great. Thanks for confirming the fix!
|
|