-
Notifications
You must be signed in to change notification settings - Fork 375
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
tpm2_eventlog_yaml: fix parsing for MokListTrusted #3144
Conversation
55f6213
to
9fff9f5
Compare
@THS-on please can you add the eventlog binary to the integration test fixtures and update the test. |
Codecov Report
@@ Coverage Diff @@
## master #3144 +/- ##
==========================================
- Coverage 76.68% 76.62% -0.06%
==========================================
Files 172 172
Lines 23117 23216 +99
==========================================
+ Hits 17727 17790 +63
- Misses 5390 5426 +36
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@idesai done. @kkaarreell I included your provided eventlog. I hope this is fine. |
98fe0f5
to
1061d53
Compare
Not all data in events of the EV_EFI_VARIABLE_AUTHORITY are EFI_SIGNATURE_DATA. The entry for MokListTrusted is a boolean encoded as an integer similar to SecureBoot variable. Fixes tpm2-software#3050 Signed-off-by: Thore Sommer <mail@thson.de>
Signed-off-by: Thore Sommer <mail@thson.de>
1061d53
to
bd801a1
Compare
The used variables and their length are defined as the following: - Name: NAME_{VARIABLE_NAME} - Length: NAME_{VARIABLE_NAME}_LEN Signed-off-by: Thore Sommer <mail@thson.de>
@JuergenReppSIT, it appears all the FAPI tests are failing with master tpm2-tss branch. |
Memory allocated by scandir when reading the fapi profile was not freed. Should fix the failures in: tpm2-software/tpm2-tools#3144 Signed-off-by: Juergen Repp <juergen_repp@web.de>
I have create a PR which should fix the problem: tpm2-software/tpm2-tss#2434 |
Memory allocated by scandir when reading the fapi profile was not freed. Should fix the failures in: tpm2-software/tpm2-tools#3144 Signed-off-by: Juergen Repp <juergen_repp@web.de>
Not all data in events of the EV_EFI_VARIABLE_AUTHORITY are
EFI_SIGNATURE_DATA. The entry for MokListTrusted is a boolean
encoded as an integer similar to SecureBoot variable.
Fixes #3050