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/05/14 16:24:00 UTC
[jira] [Commented] (PDFBOX-4546) Cannot decrypt PDF, the password
is incorrect
[ https://issues.apache.org/jira/browse/PDFBOX-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839600#comment-16839600 ]
Tilman Hausherr commented on PDFBOX-4546:
-----------------------------------------
Please try again with the current version, which is 2.0.15. If it still doesn't work, please attach the PDF and mention the password. If you can't - is the password in "western" characters or not? I'm asking because there's an unfixed bug that may or may not be related (PDFBOX-4155).
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org