openwall / openwall/john

descrypt-opencl wrongly triggers "Progress is too slow!! trying next table size."

Open
#2,613 6 comments 0 reactions 1 assignee View on GitHub

@sayan1an is already working on this.

Since Aug 14, 2017.

bug
Dominant language
C
Stars
13.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Normally, "Progress is too slow!! trying next table size." would be triggered when there are a lot of hashes with an unsalted hash type, or for a given salt. However, it is also triggered with descrypt-opencl running against our test pw-fake-unix (3269 password hashes with 2243 different salts). I guess this is because building the per-salt kernels does indeed make the progress slow (until all kernels are built), and this confuses Sayantan's perfect hash tables code. Perhaps we should special-case this.

Also, at the default verbosity level it is no longer clear what the process is doing - it appears to be stuck for minutes. Perhaps we should print at least one informational line about building the per-salt kernels (as well as how to disable this if the startup delay is undesirable and slower long-time speed would be OK?) even at default or otherwise low verbosity levels.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.