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

Enable PDFMergeUtility to merge Encrypted PDFs

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Utilities
    • Labels:
    • Environment:
      Windows 7

      Description

      The curent version of PDFMergerUtility is unable to merge PDFs which are encrypted. The implemented Check in line 227 will fail due to the load mechanism in line 186 (PDDocument.load(sourceFile))

      Changing the load mechanism in line 227 to PDDocument.loadNonSeq(File file, RandomAccess scratchFile) and "bouncy castle crypto" dependency included the merger will be able to handle encrypted pdfs.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fischey Rene Fischer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: