Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2586

IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Parsing

    Description

      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)

      Attachments

        1. SecurityHandler.diff
          0.6 kB
          Michele Balistreri
        2. test.pdf
          8 kB
          Simon Steiner

        Activity

          People

            lehmi Andreas Lehmkühler
            ssteiner Simon Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: