Skip to content

Commit 6dbe7d6

Browse files
fix: allow Docker image to run 2john tools (#755)
As it stands now, there is no john binary for the 2john tools to run. Signed-off-by: Claudio André <[email protected]>
1 parent 399fc12 commit 6dbe7d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deploy/docker/build.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,12 @@ if [ "$arch" == "x86_64" ]; then
9191
do_configure "$X86_REGULAR" --enable-simd=avx2 && do_build ../run/john-avx2-omp
9292
do_configure "$X86_NO_OPENMP" --enable-simd=avx512bw && do_build ../run/john-avx512bw
9393
do_configure "$X86_REGULAR" --enable-simd=avx512bw && do_build ../run/john-avx512bw-omp
94+
BINARY="john-avx-omp"
9495
else
9596
# Non X86 CPU (OMP fallback)
9697
do_configure "$OTHER_NO_OPENMP" && do_build "../run/john-$arch"
9798
do_configure "$OTHER_REGULAR" && do_build ../run/john-omp
99+
BINARY="john-omp"
98100
fi
99-
do_release "Yes" "Yes" # --system-wide, --support-opencl, --binary-name
101+
do_release "Yes" "Yes" "$BINARY" # --system-wide, --support-opencl, --binary-name
100102
do_clean_package

0 commit comments

Comments
 (0)