You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Michele Balistreri (JIRA)" <ji...@apache.org> on 2014/08/12 18:13:14 UTC
[jira] [Comment Edited] (PDFBOX-2269) Support for AES-256 Rev. 5
Decryption (Acrobat 9)
[ https://issues.apache.org/jira/browse/PDFBOX-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094236#comment-14094236 ]
Michele Balistreri edited comment on PDFBOX-2269 at 8/12/14 4:12 PM:
---------------------------------------------------------------------
I am pretty sure you have not installed the Java Cryptography API Unlimited Policy file. This is required to support 256-bit keys.
You can see in the stack trace:
Caused by: java.security.InvalidKeyException: Illegal key size
at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1024)
was (Author: briksoftware):
I am pretty sure you have not installed the Java Cryptography API Unlimited Policy file. This is required to support 256-bit keys.
> Support for AES-256 Rev. 5 Decryption (Acrobat 9)
> -------------------------------------------------
>
> Key: PDFBOX-2269
> URL: https://issues.apache.org/jira/browse/PDFBOX-2269
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Michele Balistreri
> Attachments: AES-256_Rev5.diff, pass17_decrypted.pdf
>
>
> This patch adds support for decrypting files using the (deprecated) AES-256 scheme revision 5. The current version only support revision 6. Since revision 5 files are generated by Acrobat 9, there is a relatively large amount of them in the wild so support is needed.
> This patch includes also the fixes from PDFBOX-2268
--
This message was sent by Atlassian JIRA
(v6.2#6252)