-
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 logic to get Advisories
from TcbInfo
#89
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
❌ Unreviewed dependencies found
|
f157da2
to
a6e418f
Compare
Codecov Report
@@ Coverage Diff @@
## nick/displayable-error-tree #89 +/- ##
===============================================================
+ Coverage 98.26% 98.38% +0.11%
===============================================================
Files 7 7
Lines 1847 1983 +136
===============================================================
+ Hits 1815 1951 +136
Misses 32 32
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Moving to draft. this has |
a6e418f
to
cfd76dc
Compare
cfd76dc
to
726bb76
Compare
The `Advisories` corresponding to a given TCB can now be retrieved from the `TcbInfo`.
d0eca4a
to
a83bf08
Compare
726bb76
to
a41235f
Compare
Previously `TcbInfo::advisories()` would return an `Option`. Now `TcbInfo::advisories()` returns a `Result<>` with dedicated errors for mismatched FMSPC and unsupported TCB level.
Previously the only way to construct a `TcbInfo` was via the `TryFrom` trait. Now a `new()` method is available for creating a `TcbInfo`. While working on mobilecoinfoundation/attestation#89 it became apparent that not being able to easily construct a `TcbInfo` type would be difficult to test the behavior of finding the correct advisories for a given TCB
@nick-mobilecoin started a stack merge that includes this pull request via Graphite. |
@nick-mobilecoin merged this pull request with Graphite. |
The
Advisories
corresponding to a given TCB can now be retrieved fromthe
TcbInfo
.Motivation