[
https://issues.apache.org/jira/browse/PDFBOX-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16847755#comment-16847755
]
Tilman Hausherr commented on PDFBOX-4546:
-----------------------------------------
No, it makes no difference. There must be some other difference. Check whether
the jar files are the same, and that the PDF is the same (make checksum), and
make sure you're running a current java version. If you're using jdk8 and are
not in a support contract, then use Amazon Corretto.
> Cannot decrypt PDF, the password is incorrect
> ---------------------------------------------
>
> Key: PDFBOX-4546
> URL: https://issues.apache.org/jira/browse/PDFBOX-4546
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.5
> Reporter: GirishPatil
> Priority: Major
>
> I am getting following exception while decrypting PDF password even though
> _PDF password is correct:_
> 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.PDFParser.prepareDecryption(PDFParser.java:320)
> at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:220)
> at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:271)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:984)
> at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:922)
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]