-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add verification of SignedTcbInfo
to EvidenceVerifier
#128
Conversation
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
❌ Unreviewed dependencies found
|
9792466
to
dfb8190
Compare
Codecov Report
@@ Coverage Diff @@
## main #128 +/- ##
==========================================
- Coverage 98.22% 98.15% -0.07%
==========================================
Files 13 13
Lines 3939 4068 +129
==========================================
+ Hits 3869 3993 +124
- Misses 70 75 +5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Previously a `Result<T, ()> was used when trying to get the public signing key out of a certificate. Now an `Option<T>` is used which improves the ergonomics. Also moved `SignedTcbInfoVerifier` into the `EvidenceValue` instead of using interior mutability in the `EvidenceVerifier`.
Previously the `SignedTcbInfoVerifier` required a key to verify the TCB info. Now the `SignedTcbInfoVerifier` takes an `Option<VerifyingKey>`. This provides a more ergonomic interface when the verifying key cannot be determined.
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
No description provided.