-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save EFI BootX variables when (un)sealing storage key
To do a proper analysis a monitor TUI we need values of BootXXXX and BootOrder EFI variables. Variable data for them is present in the TPM log however neither TCG spec nor UEFI spec mandate what part of EFI_LOAD_OPTION structure is serialized and measured in the TPM log so the reliable extraction is not possible. For example UEFI on NUC13 device avoids first two fields of this structure. - save variables to /persist/status/boot_vars/{success,fail} directories Export paths by introducing GetBootVariablesDirNames() - export paths to saved TPM logs by introducing GetTpmLogFileNames() and GetTpmLogBackupFileNames() Signed-off-by: Mikhail Malyshev <[email protected]>
- Loading branch information
Showing
1 changed file
with
89 additions
and
2 deletions.
There are no files selected for viewing
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