diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-18 14:46:58 +0000 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-18 14:47:22 +0000 |
commit | b7896564c5092622c7d23214d5d838a08fd15ddc (patch) | |
tree | cce38f5fa1db16c9aa491133ad19c62b0ebe6262 | |
parent | bdffaebe12c3012b9eda7ab57551fdfe53a2e412 (diff) | |
download | vyos-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-x | functions/defaults.sh | 10 |
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}" |