[
https://issues.apache.org/jira/browse/PDFBOX-5345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460837#comment-17460837
]
Andreas Lehmkühler edited comment on PDFBOX-5345 at 12/16/21, 4:18 PM:
-----------------------------------------------------------------------
[~tilman] the {{encryption}} dictionary is the relevant one not
{{stdCryptFilterDictionary}}
was (Author: lehmi):
[~tilman] the \{{encryption}} dictionary is the relevant one not
\{{stdCryptFilterDictionary}}
> IllegalArgumentException: Input buffer too short in
> StandardSecurityHandler.computeRC4key
> -----------------------------------------------------------------------------------------
>
> Key: PDFBOX-5345
> URL: https://issues.apache.org/jira/browse/PDFBOX-5345
> Project: PDFBox
> Issue Type: Bug
> Components: Crypto
> Affects Versions: 2.0.24
> Reporter: Tilman Hausherr
> Priority: Minor
> Labels: regression
> Attachments: poppler-89422-0.pdf
>
>
> {noformat}
> java.lang.IllegalArgumentException: Input buffer too short
> at
> java.base/java.security.MessageDigest.update(MessageDigest.java:347)
> at
> org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.computeRC4key(StandardSecurityHandler.java:894)
> at
> org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.getUserPassword(StandardSecurityHandler.java:617)
> at
> org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.isOwnerPassword(StandardSecurityHandler.java:595)
> at
> org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.prepareForDecryption(StandardSecurityHandler.java:213)
> at
> org.apache.pdfbox.pdfparser.COSParser.prepareDecryption(COSParser.java:2532)
> {noformat}
> Probably because of PDFBOX-5312
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]