[ https://issues.apache.org/jira/browse/PDFBOX-5866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872679#comment-17872679 ]
Michael Klink commented on PDFBOX-5866: --------------------------------------- Great! I see you only covered revisions {{<= 4}} and {{== 6}}. Does PDFBox support revision {{== 5}}, the algorithm from an Adobe developer extension to ISO 32000-1? Then you could also find an expected length for that case. > Unable to load password protected pdf > -------------------------------------- > > Key: PDFBOX-5866 > URL: https://issues.apache.org/jira/browse/PDFBOX-5866 > Project: PDFBox > Issue Type: Bug > Components: Crypto > Affects Versions: 2.0.32, 3.0.3 PDFBox > Reporter: Charles D > Assignee: Tilman Hausherr > Priority: Major > Fix For: 2.0.33, 3.0.4 PDFBox, 4.0.0 > > Attachments: pdfbox_invalid_pwd.pdf > > > PDFBox is unable to load password protected pdf. Error is "Invalid AES key > length: 48 bytes." > Adobe and qpdf are able to successfully open it , but many other applications > I've tried are unable to do so. > The pdf is created by a third party scanner so unfortunately we have no > insight/control over its creation. > [^pdfbox_invalid_pwd.pdf] . Please let me know the best way to provide the > password. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org