Tilman Hausherr created PDFBOX-5345:
---------------------------------------
Summary: 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
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]