You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Adam Nichols (JIRA)" <ji...@apache.org> on 2010/02/03 18:25:27 UTC

[jira] Updated: (PDFBOX-526) Add ability to read encrypted file & write unencrypted flie

     [ https://issues.apache.org/jira/browse/PDFBOX-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Nichols updated PDFBOX-526:
--------------------------------

    Affects Version/s:     (was: 0.8.0-incubator)
                       1.0.0

> Add ability to read encrypted file & write unencrypted flie
> -----------------------------------------------------------
>
>                 Key: PDFBOX-526
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-526
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel, Writing
>    Affects Versions: 1.0.0
>            Reporter: Adam Nichols
>         Attachments: write_unencrypted_docs_clean.patch
>
>
> Currently, the COSWriter determines whether or not to use encryption, which makes sense, however there's no way to tell it you don't want to use encryption.  So if you open an encrypted document, there's no way to write out an unencrypted document (you can write out a document without a password, but it'll still be encrypted).  This means that encrypted documents can't be merged even if the password is known.
> I have a patch which will allow writing out unencrypted documents.  By default it'll work as it did before, but there's a new function which can be called to mark the document to be written out with no protection.  I'll upload the patch soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.