You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/11 01:59:49 UTC

[jira] [Updated] (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 ]

John Hewson updated PDFBOX-1656:
--------------------------------
    Fix Version/s: 2.0.0

> 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)