Skip to content

Conversation

@matt-dies-tenet3
Copy link

The TIKA_JAR_HASH_ALGO environment variable can be used to customize which hash algorithm is used for checksums of the Tika jarfile. It's primarily in use for FIPS systems on which using the default hash algorithm (MD5) will raise an exception.

If the user customizes this environment variable currently, it will raise a FileNotFoundError, as the hash file is currently hardcoded to be an .md5 file, and not the filetype that's actually needed.

Fixes #438.

The TIKA_JAR_HASH_ALGO environment variable can be used to customize which hash algorithm is used for checksums of the Tika jarfile. It's primarily in use for FIPS systems on which using the default hash algorithm (MD5) will raise an exception.

If the user customizes this environment variable currently, it will raise a `FileNotFoundError`, as the hash file is currently hardcoded to be an `.md5` file, and not the filetype that's actually needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TIKA_JAR_HASH_ALGO usage is currently broken

1 participant