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

[update] Manifest Based Authorization feature update. #1828

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 2, 2024

  1. [update] Manifest Based Authorization feature update.

    This PR  makes the following changes to the feature:
    1. Adds a 'firmware id' to the image metadata entry (IME) structure.
    2. Reduces max IME limit from 128 to 127 to account for size increase due to the firmware id addition.
    3. SET_AUTH_MANIFEST command validates that the IME collection does not contain duplicate firmware ids.
    4. SET_AUTH_MANIFEST command sorts the IME on the firmware ids.
    5. Adds a new bit to the IME flags named 'SKIP AUTHORIZATION'. If set, AUTHORIZE_AND_STASH command authorizes an IME with a matching firmware id ignoring the image hash.
    6. If a firmware id is not found, AUTHORIZE_AND_STASH command returns IMAGE_NOT_AUTHORIZED status code in the command output.
    7. If a firmware id is found but the image hash does not match, AUTHORIZE_AND_STASH returns IMAGE_HASH_MISMATCH status code in the command output.
    8. If a firmware id is found and the image hash matches or if the 'SKIP AUTHORIZATION' flag is set for the the firmware id, AUTHORIZE_AND_STASH command returns IMAGE_AUTHORIZED status code in the command output.
    9. AUTHORIZE_AND_STASH command uses binary search on the firmware id to lookup an IME.
    mhatrevi committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    d025425 View commit details
    Browse the repository at this point in the history