Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated tika to use sha1 hash instead of md5 for checksum #399

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

griffin-rickle
Copy link

@griffin-rickle griffin-rickle commented Jul 21, 2023

SHA1 has been deprecated in FIPS and there are suggested steps to move away from the algorithm, but it is still supported for "Non-digital-signature applications" (CTRL-F for SHA-1 to find the supported usages table in the PDF). The maven repository supplying the Tika JAR only provides md5 and sha1 checksums, or an .asc file for verifying the signature of the file (which is not the same as verifying the checksum), so I have implemented and update to use sha1 instead of md5.

@chrismattmann
Copy link
Owner

Thank you for this @griffin-rickle let me take a look. Is there a way to do this in a back compat way (see my comments on #348 )

@griffin-rickle
Copy link
Author

Thank you for this @griffin-rickle let me take a look. Is there a way to do this in a back compat way (see my comments on #348 )

Not sure if you saw my comment on the original Issue thread, but this has been done. Let me know if there's anything else I could do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants