You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "GirishPatil (JIRA)" <ji...@apache.org> on 2019/05/14 10:27:00 UTC

[jira] [Created] (PDFBOX-4546) Cannot decrypt PDF, the password is incorrect

GirishPatil created PDFBOX-4546:
-----------------------------------

             Summary: 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


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