From 5e693dd31a8e1e876e8a2ed6e941724442f7999e Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 11 May 2022 16:04:56 +0100 Subject: switched to using sha512 instead of md5 sum --- src/validate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/validate.sh') diff --git a/src/validate.sh b/src/validate.sh index 0c9dd2d..b87e7ca 100644 --- a/src/validate.sh +++ b/src/validate.sh @@ -4,7 +4,7 @@ validate_checksum () { local file=$1 local checksum=$2 [ ! -f $file ] && return 1 - [ "$(md5sum $file | awk '{ print $1; }')" = "$checksum" ] + [ "$(sha512sum $file | awk '{ print $1; }')" = "$checksum" ] } validate_sig () { -- cgit v1.2.1