[
https://issues.apache.org/jira/browse/PDFBOX-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16747106#comment-16747106
]
Tilman Hausherr commented on PDFBOX-4436:
-----------------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]