[
https://issues.apache.org/jira/browse/PDFBOX-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-2586.
----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
I've applied the proposed patch with a small addition.
Thanks for the contribution!
> 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
> Fix For: 2.0.0
>
> 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]