-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
feat: minimal poc for TPM measurements à la sd-stub #167
Conversation
bcdb945
to
1cea27d
Compare
be929f1
to
f2e20a9
Compare
@RaitoBezarius It would be helpful to have a call one of these days about what's going on in these PRs to give some overview information. :) |
When are you available :) ? |
3309f45
to
9549253
Compare
I met with @nikstur on the last NixOS Munich meetup and we discussed this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thank you for the work!
I'd love
- a nice commit message
- the code formatted with
cargo fmt
Only the code formatting is a blocker for me.
Awesome, will fix the code formatting. :) |
3766b42
to
996a3b6
Compare
Should we merge #177 first? This might make formatting easier and the diff easier to read. |
Sure thing, this PR has problem with TPM2 protocol being located in UEFI
anyway.
Le jeu. 18 mai 2023 à 16:48, nikstur ***@***.***> a écrit :
… Should we merge #177
<#177> first? This might
make formatting easier and the diff easier to read.
—
Reply to this email directly, view it on GitHub
<#167 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACMZRHSSUUIJGLEBMEEODDXGYZFHANCNFSM6AAAAAAXQLBHZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
OVMF has no TPM support compiled by default, I am fixing that. |
64e32a8
to
bd4e428
Compare
Formatted and test fixed now. |
3f325bd
to
453ad46
Compare
Test that our measurements exposes a TPM PCR index in the userspace through efivarfs.
453ad46
to
f603e0c
Compare
Depends on #166.Implements TPM part of #94.
Note to maintainers & reviewers
Lanzaboote customization requires a special handling of PCR11 measurements to include kernel and initrd properly.
To do this, we need to read the kernel and the initrd guarded with our hashes, then record them as "fake unified section" or measure them somewhere else.
This way, we can slowly recover lanzaboote as a "true UKI" in terms of semantics.
This is out of scope for this PR, but will done in #169 because they do bring the necessary infrastructure wrt to UnifiedSection to perform this.