summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-18 14:46:58 +0000
committerLyndon Brown <jnqnfe@gmail.com>2020-03-18 14:47:22 +0000
commitb7896564c5092622c7d23214d5d838a08fd15ddc (patch)
treecce38f5fa1db16c9aa491133ad19c62b0ebe6262
parentbdffaebe12c3012b9eda7ab57551fdfe53a2e412 (diff)
downloadvyos-live-build-b7896564c5092622c7d23214d5d838a08fd15ddc.tar.gz
vyos-live-build-b7896564c5092622c7d23214d5d838a08fd15ddc.zip
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
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 1 insertions, 9 deletions
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}"