You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/01/19 13:32:00 UTC
[jira] [Comment Edited] (PDFBOX-4436) Error opening encrypted PDF
in Acrobat IOS/Android
[ https://issues.apache.org/jira/browse/PDFBOX-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16747106#comment-16747106 ]
Tilman Hausherr edited comment on PDFBOX-4436 at 1/19/19 1:31 PM:
------------------------------------------------------------------
I tried creating an encrypted file with another software and that one opens with Adobe Reader on my Android phone. By looking at the file, I found a few differences: ours is version 1.4 (wrong), has a wrong length near "AESV3" (but that entry is ignored anyway according to the specification), and we have revision 6 and the other software has revision 5. However revision 5 is deprecated. Correcting our minor errors didn't help.
was (Author: tilman):
I tried creating an encrypted file with another software and that one opens. By looking at the file, I found a few differences: ours is version 1.4 (wrong), has a wrong length near "AESV3" (but that entry is ignored anyway according to the specification), and we have revision 6 and the other software has revision 5. However revision 5 is deprecated. Correcting our minor errors didn't help.
> Error opening encrypted PDF in Acrobat IOS/Android
> --------------------------------------------------
>
> Key: PDFBOX-4436
> URL: https://issues.apache.org/jira/browse/PDFBOX-4436
> Project: PDFBox
> Issue Type: Bug
> Components: Crypto
> Affects Versions: 2.0.13
> Environment: Linux, OSX
> Reporter: Klaus Mueller
> Priority: Major
> Attachments: itext-AES256-encrypted.pdf, plain.pdf, test.pdf, testenc.pdf
>
>
> When encrypting a PDF document using command line, the encrypted PDF is not useable in Acrobat Reader IOS or Android.
> Command Line:
> {{java -jar pdfbox-app-2.0.13.jar Encrypt -O test -U test -keyLength 256 -canAssemble false -canExtractContent false -canModify false -canModifyAnnotations false plain.pdf testenc.pdf }}
> Other viewers like Foxit work.
> Java Version:
> {{java version "1.8.0_201"}}
> {{Java(TM) SE Runtime Environment (build 1.8.0_201-b09)}}
> {{Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)}}
> Tried encryption under Linux and OSX.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org