mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #799] Have questionable (yet rewarding) self-tests run only with --test (ie. not before a crack run) #418
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @magnumripper on GitHub (Oct 10, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/799
Originally assigned to: @magnumripper on GitHub.
I can't help worrying that the #753 and #757 tests can possibly be dangerous to some formats. They are good tests for catching some problems but they could possibly also thrash something that was pre-initialized (and then don't catch that themselves) leaving a subsequent crack in some bad state (false negatives). That would be awfully embarrassing if found out months or years later...
How about this: If we're doing a self-test before an actual crack session, we skip a number of Jumbo-specific tests including these. Only if we actually used
--test, all self tests should be active. Isn't that a good idea? That definitely stops us from "ruining" real crack runs. In some cases (eg. GPU) it will also speed up self-tests before a crack considerably. Hmmm OK I convinced me, this is a no brainer. I'll have a look at it.@jfoug commented on GitHub (Oct 10, 2014):
I agree with this assessment. We have to be careful to NOT cause harm, when someone is actually RUNNING JtR. If there are things that have possible damage, then during a --test is where they should happen, and the only place they should happen.