sonic-buildimage/scripts
ycoheNvidia ccf1cd57ca
Add support for secure upgrade (#11862)
- What I did
Added support for secure upgrade.

- How I did it
During sonic_installer install, added secure upgrade image verification.
HLD can be found in the following PR: sonic-net/SONiC#1024

- Why I did it
Feature is used to allow image was not modified since built from vendor. During installation, image can be verified with a signature attached to it.

- How I did it
Feature includes image signing during build (in sonic buildimage repo) and verification during image install (in sonic-utilities).

- How to verify it
In order for image verification - image must be signed - need to provide signing key and certificate (paths in SECURE_UPGRADE_DEV_SIGNING_KEY and SECURE_UPGRADE_DEV_SIGNING_CERT in rules/config) during build , and during image install, need to enable secure boot flag in bios, and signing_certificate should be available in bios.

- Feature dependencies
In order for this feature to work smoothly, need to have secure boot feature implemented as well.
The Secure boot feature will be merged in the near future.
2023-06-26 12:04:40 +03:00
..
j2cli [dockers] label SONiC Docker with manifest (#5939) 2021-04-26 13:51:50 -07:00
build_debian_base_system.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
build_kvm_image.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
build_mirror_config.sh [Build] Change the default mirror version config file (#13786) 2023-02-14 14:59:38 +08:00
collect_build_version_files.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
collect_docker_version_files.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
collect_host_image_version_files.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
convert-pfx-cert-format.sh Simplify the function to covert pfx certificate (#5086) 2020-08-01 20:07:20 +08:00
dbg_files.sh Create the src archive in target/ when INSTALL_DEBUG_TOOLS=y (#3323) 2019-08-28 09:29:48 -07:00
docker_version_control.sh [build] Fix issues found in reproducible build. (#10407) 2022-03-31 13:07:46 +08:00
efi-sign.sh Add Secure Boot Support (#12692) 2023-03-14 14:55:22 +02:00
generate_buildinfo_config.sh [Build] Support Debian snapshot mirror to improve build stability (#13097) 2023-01-13 16:16:35 +08:00
populate_file_web_server.py [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
prepare_debian_image_buildinfo.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
prepare_docker_buildinfo.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
prepare_slave_container_buildinfo.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
process_log.sh [build]: add SONIC_CONFIG_BUILD_LOG_TIMESTAMP to add timestamp in build log (#4269) 2020-03-21 14:21:26 -07:00
run_with_retry Fix sonic-slave-* build errors about sudo command not found (#13412) 2023-01-31 12:35:17 +02:00
secure_boot_signature_verification.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
sign_image_dev.sh Add support for secure upgrade (#11862) 2023-06-26 12:04:40 +03:00
sign_image.sh [Secure Boot] Support to sign swi image (#4627) 2020-06-09 15:25:17 +08:00
signing_kernel_modules.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
signing_secure_boot_dev.sh [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
versions_manager.py [CI][doc][build] Trim script and sonic-slave-* folders files trailing blanks (#15161) 2023-05-24 09:25:12 -07:00
wait_for_docker.sh [build]: wait up to 60 seconds for docker engine to start (#3067) 2019-06-22 14:40:05 -07:00