[GH-ISSUE #2714] "ztex/*" runtime pathnames should use $JOHN and be path_expand()'ed #1749

Closed
opened 2026-10-15 04:23:59 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @AlekseyCherepanov on GitHub (Sep 1, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2714

descrypt-ztex failed with the following messages:

$ LANG=C john --test=5 --format=descrypt-ztex
Benchmarking: descrypt-ztex, traditional crypt(3) [DES ZTEX]... fopen(ztex/inouttraffic.ihx): No such file or directory
fopen(ztex/inouttraffic.ihx): No such file or directory
no valid ZTEX devices found

There is ztex/inouttraffic.ihx in run/ and in src/ . I can run the
test ok standing in run/ . After that, I can run descrypt-ztex from
other folders too. But bcrypt-ztex fails in other folders:

$ LANG=C john --test=5 --format=bcrypt-ztex
Benchmarking: bcrypt-ztex [Blowfish ZTEX]... fopen(ztex/ztex115y_bcrypt.bit): No such file or directory

I think, path starting from $JOHN should be used always.

john was rebuilt today after git pull:
Version: 1.8.0-jumbo-1-5825-g2a18678
Build: linux-gnu 64-bit SSE4.1-ac
SIMD: SSE4.1, interleaving: MD4:3 MD5:3 SHA1:1 SHA256:1 SHA512:1

Originally created by @AlekseyCherepanov on GitHub (Sep 1, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2714 descrypt-ztex failed with the following messages: ``` $ LANG=C john --test=5 --format=descrypt-ztex Benchmarking: descrypt-ztex, traditional crypt(3) [DES ZTEX]... fopen(ztex/inouttraffic.ihx): No such file or directory fopen(ztex/inouttraffic.ihx): No such file or directory no valid ZTEX devices found ``` There is ztex/inouttraffic.ihx in run/ and in src/ . I can run the test ok standing in run/ . After that, I can run descrypt-ztex from other folders too. But bcrypt-ztex fails in other folders: ``` $ LANG=C john --test=5 --format=bcrypt-ztex Benchmarking: bcrypt-ztex [Blowfish ZTEX]... fopen(ztex/ztex115y_bcrypt.bit): No such file or directory ``` I think, path starting from $JOHN should be used always. john was rebuilt today after `git pull`: Version: 1.8.0-jumbo-1-5825-g2a18678 Build: linux-gnu 64-bit SSE4.1-ac SIMD: SSE4.1, interleaving: MD4:3 MD5:3 SHA1:1 SHA256:1 SHA512:1
bsakaguchi 2026-10-15 04:23:59 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@solardiz commented on GitHub (Sep 2, 2017):

@Apingis please look into this. (I haven't yet. The issue title edit is based on my best guess.)

<!-- gh-comment-id:326740353 --> @solardiz commented on GitHub (Sep 2, 2017): @Apingis please look into this. (I haven't yet. The issue title edit is based on my best guess.)
Author
Owner

@Apingis commented on GitHub (Sep 2, 2017):

Confirmed issues, they are remnants from standalone application

  • $JOHN, path_expand() are not used, fopen() fails if CWD is other than run/
  • duplicate inouttraffic.ihx in both run/ and src/
<!-- gh-comment-id:326751335 --> @Apingis commented on GitHub (Sep 2, 2017): Confirmed issues, they are remnants from standalone application - $JOHN, path_expand() are not used, fopen() fails if CWD is other than run/ - duplicate inouttraffic.ihx in both run/ and src/
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#1749
No description provided.