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

Unable to load password protected pdf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.32, 3.0.3 PDFBox
    • 2.0.33, 3.0.4 PDFBox, 4.0.0
    • Crypto
    • None

    Description

      PDFBox is unable to load password protected pdf. Error is "Invalid AES key length: 48 bytes."

      Adobe and qpdf are able to successfully open it , but many other applications I've tried are unable to do so.

      The pdf is created by a third party scanner so unfortunately we have no insight/control over its creation. 

      pdfbox_invalid_pwd.pdf . Please let me know the best way to provide the password. 

      Attachments

        1. pdfbox_invalid_pwd.pdf
          8 kB
          Charles D

        Activity

          People

            tilman Tilman Hausherr
            charlesd Charles D
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: