[GH-ISSUE #881] blackberry_ES10_fmt_plug.c: iterations #484

Closed
opened 2026-10-14 03:10:17 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @frank-dittrich on GitHub (Dec 14, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/881

The salt definition includes a component iterations which is never used.
crypt_all seems to use a hard coded value of 99.
Who knows whether this format should handle a varying iteration count?
(If the number of iterations isn't a constant, it should be reported as a tunable cost.)

Originally created by @frank-dittrich on GitHub (Dec 14, 2014). Original GitHub issue: https://github.com/openwall/john/issues/881 The salt definition includes a component `iterations` which is never used. crypt_all seems to use a hard coded value of 99. Who knows whether this format should handle a varying iteration count? (If the number of iterations isn't a constant, it should be reported as a tunable cost.)
Author
Owner

@jfoug commented on GitHub (Dec 15, 2014):

This is almost certainly something that SHOULD be hard coded. The format itself specifies 101 iterations. No where in searching, have I seen anything to show that iteration count can be set.

<!-- gh-comment-id:66953218 --> @jfoug commented on GitHub (Dec 15, 2014): This is almost certainly something that SHOULD be hard coded. The format itself specifies 101 iterations. No where in searching, have I seen anything to show that iteration count can be set.
Author
Owner

@jfoug commented on GitHub (Dec 15, 2014):

Note, there is not even a bbes10 'maker'. The hashes are not 100% the same. the bbes10 is fictional, and the separator char for the salt is a ':' which we change to a '$'. But the hashes I have seen are just the sha512 residue (in hex), and the salt

I am pretty sure this iteration part of the salt was some leftover from cut-paste from some other starting point format.

<!-- gh-comment-id:66953368 --> @jfoug commented on GitHub (Dec 15, 2014): Note, there is not even a bbes10 'maker'. The hashes are not 100% the same. the $bbes10$ is fictional, and the separator char for the salt is a ':' which we change to a '$'. But the hashes I have seen are just the sha512 residue (in hex), and the salt I am pretty sure this iteration part of the salt was some leftover from cut-paste from some other starting point format.
Author
Owner

@frank-dittrich commented on GitHub (Dec 15, 2014):

So we just remove the iterations from the salt, to avoid confusion? @kholia what do you think?

<!-- gh-comment-id:66953385 --> @frank-dittrich commented on GitHub (Dec 15, 2014): So we just remove the iterations from the salt, to avoid confusion? @kholia what do you think?
Author
Owner

@magnumripper commented on GitHub (Dec 17, 2014):

I'm moving this to J2 milestone but that does not mean we can't touch it earlier!

<!-- gh-comment-id:67257713 --> @magnumripper commented on GitHub (Dec 17, 2014): I'm moving this to J2 milestone but that does not mean we can't touch it earlier!
Author
Owner

@kholia commented on GitHub (Dec 17, 2014):

I vote for keeping the iterations parameter. Having an extra field (or two) helps in the case of future expansion (e.g. handling more sub-types, algorithms, etc).

<!-- gh-comment-id:67282246 --> @kholia commented on GitHub (Dec 17, 2014): I vote for keeping the `iterations` parameter. Having an extra field (or two) helps in the case of future expansion (e.g. handling more sub-types, algorithms, etc).
Author
Owner

@magnumripper commented on GitHub (Dec 29, 2014):

So we can close this, right?

<!-- gh-comment-id:68239313 --> @magnumripper commented on GitHub (Dec 29, 2014): So we can close this, right?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#484
No description provided.