Skip to content

Conversation

@magnumripper
Copy link
Member

@magnumripper magnumripper commented Nov 22, 2025

Bare XSHA is exactly 48 chars of uppercase hex. Pot entries will currently be iterated-sha1 canonical, tagged and in lowercase.

I guess we should write XSHA entries to .pot using the raw uppercase format, like the XSHA-specific CPU format does? This will complicate valid a little and need adding a split() but it's trivial. Working on it (slowly).

@magnumripper magnumripper marked this pull request as draft November 22, 2025 00:31
Bare XSHA need to 48 chars of uppercase hex. These will end up in
john.pot as-is (like the old XSHA format).
@magnumripper
Copy link
Member Author

I guess we should write XSHA entries to .pot using the raw uppercase format, like the XSHA-specific CPU format does? This will complicate valid a little and need adding a split() but it's trivial. Working on it (slowly).

Done. Actually no split() needed as we require uppercase for XSHA and lowercase for others. I could even drop prepare().

@magnumripper magnumripper marked this pull request as ready for review November 27, 2025 11:04
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.

1 participant