pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PDFBOX-4286) Encrypted and certified PDF file could not be opened
Date Fri, 03 Aug 2018 08:13:00 GMT

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

Roman updated PDFBOX-4286:
--------------------------
    Attachment: Demo1_encrypted_.pdf

> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message