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

Tweak the "excessive partial hash collisions" warnings #5752

Open
wants to merge 3 commits into
base: bleeding-jumbo
Choose a base branch
from

Conversation

magnumripper
Copy link
Member

@magnumripper magnumripper commented Apr 4, 2025

For salt-only formats, bump the warning threshold to 10x LDR_HASH_COLLISIONS_MAX.

Add a self-test for detecting misuse of default binary hash functions with FMT_BLOB formats.

Fix such bug in Office formats.

Closes #5736

For salt-only formats, bump the warning threshold by x10.

Closes openwall#5736
Blob formats can't use the fmt_default_(binary|get)_hash_[0..6] functions
but need more elaborate functions, or plain fmt_default_binary_hash.

Salt-only formats doesn't even have a binary, but are allowed to use
fmt_default_(binary|get)_hash (without the trailing _0[..6]).

See openwall#5736
@magnumripper magnumripper requested a review from solardiz April 4, 2025 19:17
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.

Drop the "Warning: excessive partial hash collisions detected" for salt-only and blob-binary formats
1 participant