[
https://issues.apache.org/jira/browse/PDFBOX-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300273#comment-14300273
]
ASF subversion and git services commented on PDFBOX-2586:
---------------------------------------------------------
Commit 1656341 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1656341 ]
PDFBOX-2586: detect and swallow GeneralSecurityException as it used to be done
using JVMs < 1.8 as poroposed by Michele Balistreri
> IllegalBlockSizeException: Input length must be multiple of 16 when
> decrypting with padded cipher
> -------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-2586
> URL: https://issues.apache.org/jira/browse/PDFBOX-2586
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Assignee: Andreas Lehmkühler
> Attachments: SecurityHandler.diff, test.pdf
>
>
> On java version "1.7.0_72", java version "1.8.0_20" works ok
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage
> test.pdf
> Exception in thread "main" java.io.IOException:
> javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16
> when decrypting with padded cipher
> at
> javax.crypto.CipherInputStream.getMoreData(CipherInputStream.java:115)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]