Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[action] [PR:11862] Add support for secure upgrade #15691

Merged
merged 1 commit into from
Jul 19, 2023

Commits on Jun 30, 2023

  1. Add support for secure upgrade (sonic-net#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.
    ycoheNvidia authored and mssonicbld committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    277021b View commit details
    Browse the repository at this point in the history