You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Rene Fischer (JIRA)" <ji...@apache.org> on 2013/07/01 16:03:22 UTC

[jira] [Created] (PDFBOX-1656) Enable PDFMergeUtility to merge Encrypted PDFs

Rene Fischer created PDFBOX-1656:
------------------------------------

             Summary: Enable PDFMergeUtility to merge Encrypted PDFs
                 Key: PDFBOX-1656
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1656
             Project: PDFBox
          Issue Type: Improvement
          Components: Utilities
    Affects Versions: 2.0.0
         Environment: Windows 7
            Reporter: Rene Fischer
            Priority: Trivial


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 227 to PDDocument.loadNonSeq(File file, RandomAccess scratchFile) and "bouncy castle crypto" dependency included the merger will be able to handle encrypted pdfs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira