pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "F. Schmitt (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-953) PDFBox fails to ExtractText from Adobe Acrobat X 256-bit AES encrypted documents
Date Sun, 04 Mar 2012 15:49:58 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221921#comment-13221921

F. Schmitt commented on PDFBOX-953:

The documentation can be found here:
(Chapter 3.5 - Encryption)
The revision of the standard security handler was extended to number 5.

I would also like to see this feature. Or at least an exception, that revision 5 is not yet
supported would be cool.
> PDFBox fails to ExtractText from Adobe Acrobat X 256-bit AES encrypted documents
> --------------------------------------------------------------------------------
>                 Key: PDFBOX-953
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-953
>             Project: PDFBox
>          Issue Type: New Feature
>    Affects Versions: 1.3.1, 1.4.0
>         Environment: Java: jdk1.6.0_20
> OS: Windows 7, RHEL 5.5
>            Reporter: Peter Nordquist
>         Attachments: lorem-ipsum-256AES.pdf
> From the command line version of PDFBox, this exception is printed out:
> ExtractText failed with the following exception:
> java.lang.ArrayIndexOutOfBoundsException
>         at java.lang.System.arraycopy(Native Method)
>         at org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.computeEncryptedKey(StandardSecurityHandler.java:571)
>         at org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.computeUserPassword(StandardSecurityHandler.java:608)
>         at org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.isUserPassword(StandardSecurityHandler.java:792)
>         at org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.decryptDocument(StandardSecurityHandler.java:189)
>         at org.apache.pdfbox.pdmodel.PDDocument.openProtection(PDDocument.java:1091)
>         at org.apache.pdfbox.ExtractText.main(ExtractText.java:190)
>         at org.apache.pdfbox.PDFBox.main(PDFBox.java:42)
> The document I was using was encrypted using Adobe Acrobat X Pro and has only Page Extraction
disabled inside of it.  It was encrypted only with a permissions password.  

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message