[ https://issues.apache.org/jira/browse/PDFBOX-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
simon steiner updated PDFBOX-2492: ---------------------------------- Description: Java 8u20 is ok java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage out.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) at javax.crypto.CipherInputStream.read(CipherInputStream.java:233) at javax.crypto.CipherInputStream.read(CipherInputStream.java:209) at org.apache.pdfbox.pdmodel.encryption.SecurityHandler.encryptData(SecurityHandler.java:331) was: Java 8u20 is ok java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage out.pdf IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher at javax.crypto.CipherInputStream.getMoreData(CipherInputStream.java:115) > Java 8u25 IllegalBlockSizeException decrypting pdf > -------------------------------------------------- > > Key: PDFBOX-2492 > URL: https://issues.apache.org/jira/browse/PDFBOX-2492 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Affects Versions: 2.0.0 > Reporter: simon steiner > > Java 8u20 is ok > java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage > out.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) > at javax.crypto.CipherInputStream.read(CipherInputStream.java:233) > at javax.crypto.CipherInputStream.read(CipherInputStream.java:209) > at > org.apache.pdfbox.pdmodel.encryption.SecurityHandler.encryptData(SecurityHandler.java:331) -- This message was sent by Atlassian JIRA (v6.3.4#6332)