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
This commit is contained in:
Lyndon Brown 2020-03-18 14:46:58 +00:00
parent bdffaebe12
commit b7896564c5
1 changed files with 1 additions and 9 deletions

View File

@ -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}"