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 2014/10/13 10:24:33 UTC
[jira] [Resolved] (PDFBOX-1656) Enable PDFMergeUtility to merge
Encrypted PDFs
[ https://issues.apache.org/jira/browse/PDFBOX-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rene Fischer resolved PDFBOX-1656.
----------------------------------
Resolution: Fixed
Will work in 2.0.0. Checked the current snapshot.
> 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
> Fix For: 2.0.0
>
> Attachments: PDFEncryptedMergerUtility.java
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)