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/24 13:03:00 UTC

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

     [ https://issues.apache.org/jira/browse/PDFBOX-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

GirishPatil reopened PDFBOX-4546:
---------------------------------

Hello PDFBox;

I have tried with PDFBox latetst version i.e. 2.0.15 but still the same issue was occurred.

Does adobe reader installtion plays vital role to encrypt/decrypt password of the PDF?

Becuase I am not getting pdf password decryption exception on a mchine where Adobe Reader DC version is installed. 

 

> 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