Skip to content

Make tag checks case-sensitive in a few formats that had it wrong#5921

Merged
magnumripper merged 1 commit intoopenwall:bleeding-jumbofrom
magnumripper:case-sensitive-tags
Dec 10, 2025
Merged

Make tag checks case-sensitive in a few formats that had it wrong#5921
magnumripper merged 1 commit intoopenwall:bleeding-jumbofrom
magnumripper:case-sensitive-tags

Conversation

@magnumripper
Copy link
Member

Tags could very well be case insensitive, but only if we see that in a spec or in the wild and to the best of my knowledge this doesn't apply to any of these formats. Some of them even have their tags made with our own *2john tools (which I then checked).

I also made sure nothing in our tree nor in the Test Suite has these tags in a different case.

The only format that had me uncertain was sapH but some googling seemed to confirm our tags for it are the correct (sometimes mixed) case.

The LDAP tags I included here, {SSHA} and {SSHA512}, are not likely to exist in lowercase anywhere while older ones such as {md5} or {sha} theoretically could, but we only ever supported those in uppercase and no-one ever complained.

Tags could very well be case insensitive, but only if we see that in
a spec or in the wild and to the best of my knowledge this doesn't
apply to any of these formats.  Some of them even have their tags made
with our own *2john tools (which I then checked).

I also made sure nothing in our tree nor in the Test Suite has these
tags in a different case.

The only format that had me uncertain was sapH but some googling
seemed to confirm our tags for it are the correct (sometimes mixed)
case.

The LDAP tags I included here, {SSHA} and {SSHA512}, are not likely to
exist in lowercase anywhere while older ones such as {md5} or {sha}
theoretically could, but we only ever supported those in uppercase and
no-one ever complained.
@magnumripper magnumripper requested a review from solardiz December 7, 2025 00:14
@magnumripper magnumripper merged commit e3d09a6 into openwall:bleeding-jumbo Dec 10, 2025
33 of 34 checks passed
@magnumripper magnumripper deleted the case-sensitive-tags branch December 10, 2025 20:58
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.

2 participants