-
Notifications
You must be signed in to change notification settings - Fork 595
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
overlord/fdestate: EFI DBX support (#14615)
Final pieces of EFI DBX support in fdestate, which implement the following logical 'actions' triggered through the snapd API: 'prepare' - triggered before fwupd or other agent performs the actual update, results in resealing of keys with the content of the DBX update 'cleanup - triggered after the update has completed, results in resealing of keys with the current content of DBX 'startup' - triggered whenever said agent starts up, such that we can detect whenever an unexpected reboot occurred or the agent crashed/restarted, which may trigger a reseal if an update was previously started. The updates are tracked as 'external' operations in fdestate. * tests/nested/manual/core20-fde-dbx: spread test for DBX related operations Add a spread test for DBX related operations Signed-off-by: Maciej Borzecki <[email protected]> * overlord/fdestate: implement EFI DBX operations Implement operations for notifying snapd of changes to the EFI DBX. Signed-off-by: Maciej Borzecki <[email protected]> * fixup! overlord/fdestate: implement EFI DBX operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! overlord/fdestate: implement EFI DBX operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! tests/nested/manual/core20-fde-dbx: spread test for DBX related operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! tests/nested/manual/core20-fde-dbx: spread test for DBX related operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! overlord/fdestate: implement EFI DBX operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! tests/nested/manual/core20-fde-dbx: spread test for DBX related operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! overlord/fdestate: implement EFI DBX operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! tests/nested/manual/core20-fde-dbx: spread test for DBX related operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! overlord/fdestate: implement EFI DBX operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! overlord/fdestate: implement EFI DBX operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! overlord/fdestate: implement EFI DBX operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! tests/nested/manual/core20-fde-dbx: spread test for DBX related operations Signed-off-by: Maciej Borzecki <[email protected]> * fixup! overlord/fdestate: implement EFI DBX operations Signed-off-by: Maciej Borzecki <[email protected]> --------- Signed-off-by: Maciej Borzecki <[email protected]>
- Loading branch information
Showing
8 changed files
with
2,110 additions
and
48 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.