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

[ownership] manual cherry-pick for #24745, #24766, #24798, #24683, #24799 #25028

Open
wants to merge 5 commits into
base: earlgrey_1.0.0
Choose a base branch
from

Conversation

moidx
Copy link
Contributor

@moidx moidx commented Nov 6, 2024

@moidx moidx requested review from a team as code owners November 6, 2024 23:32
@moidx moidx removed request for a team November 6, 2024 23:32
Refactor the activation code into a common function that can be used by
both the boot services activate handler and the same-owner `NewVersion`
update.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit 44b0b34)
Allow the owenrship block to specify that it is locked to a specific
device ID.

1. Add `lock_constraints` and `device_id` fields to the owner config.
2. Use the device_id from the lifecycle controller in the cryptographic
   verification of the owner config.
3. Add tests to verify node locking.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit 355160f)
1. Rewrite the OwnerSecret page when performing an ownership transfer.
2. Test that the sealing derivation changes in each state along the
   transfer (e.g. CurrentOwner -> Unlocked -> NextOwner).

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit 2aff7a3)
1. Always allow the `REBO`, `WAIT` and `BAUD` commands.
2. Do not lock the ownership pages when in rescue mode _and_ built with
   `ROM_EXT_KLOBBER_ALLOWED` defined.  A "klobber-enabled" DEV build is
   allowed to erase the ownership pages for disaster testing.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit 2f9c9af)
The `SelfVersion` update mode permits either an ownership unlock to
`UnlockedSelf` or a new-version update from the current owner.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit f95f31d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants