From 14fb3fd15f18c88ae2731bfe9f0711523624c35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claudio=20Andr=C3=A9?= Date: Thu, 13 Mar 2025 14:31:40 -0300 Subject: [PATCH] fix: allow Docker image to run 2john tools (#755) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As it stands now, there is no john binary for the 2john tools to run. Signed-off-by: Claudio André --- deploy/docker/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/docker/build.sh b/deploy/docker/build.sh index 6716b959..8b1b780d 100755 --- a/deploy/docker/build.sh +++ b/deploy/docker/build.sh @@ -91,10 +91,12 @@ if [ "$arch" == "x86_64" ]; then do_configure "$X86_REGULAR" --enable-simd=avx2 && do_build ../run/john-avx2-omp do_configure "$X86_NO_OPENMP" --enable-simd=avx512bw && do_build ../run/john-avx512bw do_configure "$X86_REGULAR" --enable-simd=avx512bw && do_build ../run/john-avx512bw-omp + BINARY="john-avx-omp" else # Non X86 CPU (OMP fallback) do_configure "$OTHER_NO_OPENMP" && do_build "../run/john-$arch" do_configure "$OTHER_REGULAR" && do_build ../run/john-omp + BINARY="john-omp" fi -do_release "Yes" "Yes" # --system-wide, --support-opencl, --binary-name +do_release "Yes" "Yes" "$BINARY" # --system-wide, --support-opencl, --binary-name do_clean_package