From b7896564c5092622c7d23214d5d838a08fd15ddc Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Wed, 18 Mar 2020 14:46:58 +0000 Subject: defaults: bump checksums to stronger form md5 & sha1 are not considered secure anymore and thus are of questionable value here if checksums are wanted. Gbp-Dch: Short --- functions/defaults.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index 14ec0efea..7b77ec365 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -551,15 +551,7 @@ Set_config_defaults () LB_FIRST_BOOTLOADER=$(echo "${LB_BOOTLOADERS}" | awk -F, '{ print $1 }') # Setting checksums - case "${LB_MODE}" in - progress-linux) - LB_CHECKSUMS="${LB_CHECKSUMS:-sha256}" - ;; - - *) - LB_CHECKSUMS="${LB_CHECKSUMS:-md5}" - ;; - esac + LB_CHECKSUMS="${LB_CHECKSUMS:-sha256}" # Setting compression LB_COMPRESSION="${LB_COMPRESSION:-none}" -- cgit v1.2.3