You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/11/09 15:14:33 UTC

[jira] [Comment Edited] (PDFBOX-2484) Cannot decrypt AES256 encrypted files with nonSeq parser

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

Andreas Lehmkühler edited comment on PDFBOX-2484 at 11/9/14 2:14 PM:
---------------------------------------------------------------------

The encryption dictionary was't parsed recursively when using the non-sequential parser so that the decryption doesn't work correct. My changes ensure that everything is in place to decrypt the data so that the PDFDebugger now works. But theres is still an issue with the PDFReader and I guess there is maybe a similar issue with another dictionary.
I'm investigating further ...


was (Author: lehmi):
The encryption dictionary was't parsed recursively when using the non-sequential parser so that the decryption doesn't work correct. My changes ensure that everything is in place to encrypt the data so that the PDFDebugger now works. But theres is still an issue with the PDFReader and I guess there is maybe a similar issue with another dictionary.
I'm investigating further ...

> Cannot decrypt AES256 encrypted files with nonSeq parser
> --------------------------------------------------------
>
>                 Key: PDFBOX-2484
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2484
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>              Labels: AES256
>         Attachments: Simple-256-bit-encrypted.pdf
>
>
> It is not possible to open the attached file (password: 1234567890abcdefghijk1234567890abcdefghijk ) with the nonSeq parser:
> WARNUNG: Verification of permissions failed (-64 != -3392)
> Nov 06, 2014 7:54:35 AM org.apache.pdfbox.pdfparser.BaseParser parseCOSArray
> WARNUNG: Corrupt object reference at offset 123
> Nov 06, 2014 7:54:35 AM org.apache.pdfbox.pdfparser.BaseParser parseCOSArray
> WARNUNG: Corrupt object reference at offset 151
> Nov 06, 2014 7:54:35 AM org.apache.pdfbox.filter.FlateFilter decode
> SCHWERWIEGEND: FlateFilter: stop reading corrupt stream due to a DataFormatException



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)