[
https://issues.apache.org/jira/browse/PDFBOX-4286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman resolved PDFBOX-4286.
---------------------------
Resolution: Invalid
I found that this is just a "Java Cryptography API Unlimited Policy file"
problem , described here:
https://issues.apache.org/jira/browse/PDFBOX-2269?focusedCommentId=14094236&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14094236
Closing as invalid.
> Encrypted and certified PDF file could not be opened
> ----------------------------------------------------
>
> Key: PDFBOX-4286
> URL: https://issues.apache.org/jira/browse/PDFBOX-4286
> Project: PDFBox
> Issue Type: Bug
> Reporter: Roman
> Priority: Major
> Attachments: Demo1_encrypted_.pdf
>
>
> When trying to open attached PDF using
> {code}
> PDDocument.load(..)
> {code}
> get error:
> {code}
> org.apache.pdfbox.pdmodel.encryption.InvalidPasswordException: Cannot decrypt
> PDF, the password is incorrect
> at
> org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.prepareForDecryption(StandardSecurityHandler.java:256)
> at
> org.apache.pdfbox.pdfparser.COSParser.prepareDecryption(COSParser.java:2873)
> at
> org.apache.pdfbox.pdfparser.COSParser.retrieveTrailer(COSParser.java:284)
> at
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:171)
> at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:220)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1012)
> {code}
> The same happening when opening using PDF debugger.
> In the same time, this PDF opening fine (without a password needed) by Adobe
> Reader.
> Also, when this doc is opened in Rups, the following error shown: "Unknown
> encryption type R = 6"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]