[
https://issues.apache.org/jira/browse/PDFBOX-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rene Fischer updated PDFBOX-1656:
---------------------------------
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.
was:
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.
> 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
> Labels: patch
>
> 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.
--
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