You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Manuel Kasper (JIRA)" <ji...@apache.org> on 2014/03/22 23:20:45 UTC

[jira] [Updated] (PDFBOX-1594) Add support for AES256 Encryption

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

Manuel Kasper updated PDFBOX-1594:
----------------------------------

    Attachment: pdfbox-2.0.0-r1580297-aes256.diff
                fix-pdfbox-2.0.0-encrypt.diff

I've attached a patch against trunk for AES-256 encryption.
Note that encryption appears to be broken in trunk (as of r1580297) — the Encrypt command generates an unencrypted PDF.
It seems that this was caused by r1577354. I've attached a quick fix (fix-pdfbox-2.0.0-encrypt.diff) for this; however as I haven't spent enough time to fully understand the original intent of the commit that caused the problem, it would be good if you could review/fix it.

> Add support for AES256 Encryption 
> ----------------------------------
>
>                 Key: PDFBOX-1594
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1594
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: Maruan Sahyoun
>             Fix For: 2.0.0
>
>         Attachments: fix-pdfbox-2.0.0-encrypt.diff, pdfbox-1.8.4-aes256.diff, pdfbox-2.0.0-r1580297-aes256.diff
>
>
> Adobe 9 added support for AES 256 encryption. Further information is available at  http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf (specially 3.5.1) or ISO 32000-2.



--
This message was sent by Atlassian JIRA
(v6.2#6252)