[GH-ISSUE #861] Test suite: odf_1 FAILS #468

Closed
opened 2026-10-14 03:09:35 +07:00 by bsakaguchi · 5 comments
Owner

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

On 64bit linux:

(master)test $ OMP_NUM_THREADS=3 ./jtrts.pl -q -noprelims -passthru "--fork=3 --skip-self-tests"
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.12.18, Oct 31, 2014.  By, Jim Fougeron & others
- Testing:  John the Ripper password cracker, version 1.8.0.2-bleeding-jumbo_omp [linux-gnu 64-bit AVX-autoconf]
--------------------------------------------------------------------------------
form=odf_1                        guesses: 1496 -show=1496 0:00:00:10 DONE : Expected count(s) (1500)  [!!!FAILED!!!]
Some tests had Errors. Performed 282 tests.  1 errors                    
Time used was 505 seconds
(master)test $ OMP_NUM_THREADS=3 ./jtrts.pl -q -noprelims -passthru "--fork=3 --skip-self-tests"
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.12.18, Oct 31, 2014.  By, Jim Fougeron & others
- Testing:  John the Ripper password cracker, version 1.8.0.2-bleeding-jumbo_omp [linux-gnu 64-bit AVX-autoconf]
--------------------------------------------------------------------------------
form=odf_1                        guesses: 1496 -show=1496 0:00:00:10 DONE : Expected count(s) (1500)  [!!!FAILED!!!]
Some tests had Errors. Performed 282 tests.  1 errors                    
Time used was 510 seconds
Originally created by @frank-dittrich on GitHub (Nov 27, 2014). Original GitHub issue: https://github.com/openwall/john/issues/861 On 64bit linux: ``` (master)test $ OMP_NUM_THREADS=3 ./jtrts.pl -q -noprelims -passthru "--fork=3 --skip-self-tests" ------------------------------------------------------------------------------- - JtR-TestSuite (jtrts). Version 1.12.18, Oct 31, 2014. By, Jim Fougeron & others - Testing: John the Ripper password cracker, version 1.8.0.2-bleeding-jumbo_omp [linux-gnu 64-bit AVX-autoconf] -------------------------------------------------------------------------------- form=odf_1 guesses: 1496 -show=1496 0:00:00:10 DONE : Expected count(s) (1500) [!!!FAILED!!!] Some tests had Errors. Performed 282 tests. 1 errors Time used was 505 seconds (master)test $ OMP_NUM_THREADS=3 ./jtrts.pl -q -noprelims -passthru "--fork=3 --skip-self-tests" ------------------------------------------------------------------------------- - JtR-TestSuite (jtrts). Version 1.12.18, Oct 31, 2014. By, Jim Fougeron & others - Testing: John the Ripper password cracker, version 1.8.0.2-bleeding-jumbo_omp [linux-gnu 64-bit AVX-autoconf] -------------------------------------------------------------------------------- form=odf_1 guesses: 1496 -show=1496 0:00:00:10 DONE : Expected count(s) (1500) [!!!FAILED!!!] Some tests had Errors. Performed 282 tests. 1 errors Time used was 510 seconds ```
Author
Owner

@magnumripper commented on GitHub (Nov 27, 2014):

Happens here (OSX/64) at 4 threads too, so that is probably not a clue.

<!-- gh-comment-id:64838584 --> @magnumripper commented on GitHub (Nov 27, 2014): Happens here (OSX/64) at 4 threads too, so that is probably not a clue.
Author
Owner

@frank-dittrich commented on GitHub (Nov 28, 2014):

Yes, even a plain ./jtrts.pl -q without additional parameters triggers it.

<!-- gh-comment-id:64870692 --> @frank-dittrich commented on GitHub (Nov 28, 2014): Yes, even a plain `./jtrts.pl -q` without additional parameters triggers it.
Author
Owner

@jfoug commented on GitHub (Nov 28, 2014):

When I built the file, I saw this. I am not sure if it is problems in the pass_gen.pl code, ,or in the format. I did not have time to investigate, so it was left. I am not sure if the bug belongs here, or in the TS (or pass_gen). Very likely, it is a problem in the format however, but I simply did not have time to dig further. Thanks for putting this 'remind you' note out here to track down where the issue is at.

<!-- gh-comment-id:64879503 --> @jfoug commented on GitHub (Nov 28, 2014): When I built the file, I saw this. I am not sure if it is problems in the pass_gen.pl code, ,or in the format. I did not have time to investigate, so it was left. I am not sure if the bug belongs here, or in the TS (or pass_gen). Very likely, it is a problem in the format however, but I simply did not have time to dig further. Thanks for putting this 'remind you' note out here to track down where the issue is at.
Author
Owner

@kholia commented on GitHub (Nov 28, 2014):

I am taking a look now.

<!-- gh-comment-id:64891126 --> @kholia commented on GitHub (Nov 28, 2014): I am taking a look now.
Author
Owner

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

F'kn ugly little biaoch. It was a bug in the Crypt::CBC or Crypt::OpenSSL::AES code

Simply boils down to the crypt was returning a buffer that was 1 byte short sometimes, IF the last byte was \x01. Don't ask me why, but that is what was going on. I had to step both the pass_gen code and the odf_fmt on busted hashes.

b648e0f

<!-- gh-comment-id:65723700 --> @jfoug commented on GitHub (Dec 4, 2014): F'kn ugly little biaoch. It was a bug in the Crypt::CBC or Crypt::OpenSSL::AES code Simply boils down to the crypt was returning a buffer that was 1 byte short sometimes, IF the last byte was \x01. Don't ask me why, but that is what was going on. I had to step both the pass_gen code and the odf_fmt on busted hashes. b648e0f
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#468
No description provided.