-
Notifications
You must be signed in to change notification settings - Fork 12
NOISSUE - Add launch TCB info to VM info #333
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #333 +/- ##
==========================================
- Coverage 66.40% 66.31% -0.09%
==========================================
Files 53 53
Lines 4352 4391 +39
==========================================
+ Hits 2890 2912 +22
- Misses 1192 1207 +15
- Partials 270 272 +2 ☔ View full report in Codecov by Sentry. |
manager/service.go
Outdated
} | ||
ms.mu.Unlock() | ||
|
||
cmd := exec.Command("sudo", fmt.Sprintf("%s/attestation_policy", ms.attestationPolicyBinaryPath), "--policy", "196608") |
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.
run conditionally only for when qemu config is set for SEV or SEV_SNP
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.
Done
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.
LGTM
What type of PR is this?
This is a update to the VM information that is being saved. It saves the launch TCB for the launched VM so it can be later used in the attestation verification and validation process. The AR contains the field
LAUNCH_TCB
which contains the TCB value when the VM was launched.What does this do?
This PR adds the launch TCB value to the new structure
VMInfo
. The new structure hold information on the launched VM. The launch TCB is later used in the verification and validation process of the attestation report. It validates the launch TCB field of the attestation report.Which issue(s) does this PR fix/relate to?
No issue.
Have you included tests for your changes?
The tests are the same as before.
Did you document any new/modified feature?
This feature is part of the attestation validation and verification process.
Notes