Skip to content
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 TcbRawInfoVerifier #98

Merged
merged 2 commits into from
May 25, 2023
Merged

Add TcbRawInfoVerifier #98

merged 2 commits into from
May 25, 2023

Conversation

nick-mobilecoin
Copy link
Collaborator

Add TcbRawInfoVerifier which can be composed with other verifiers to
verify the signature and date validity of the TcbRawInfo.

Motivation

@github-actions github-actions bot added the size/L Large PRs label May 24, 2023
@nick-mobilecoin
Copy link
Collaborator Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@meowblecoinbot meowblecoinbot requested a review from a team May 24, 2023 17:27
@github-actions
Copy link

❌ Unreviewed dependencies found

Crate Version Reviews (N/2) LoC Left-Pad Index Geiger Flags
yare 1.0.2 0 89 12 0 ____
mc-sgx-core-sys-types 0.6.1 0 224 5 0 CB__
displaydoc 0.2.3 0 409 69 24 ____
subtle 2.5.0 0 440 142 9 ____
x509-cert 0.2.2 0 1915 5 0 ____
mc-sgx-dcap-types 0.6.1 0 1990 0 0 ____
mc-sgx-core-types 0.6.1 0 2053 2 0 ____
textwrap 0.16.0 0 2234 75 0 ____
p256 0.13.2 0 2545 24 0 ____

verifier/src/tcb.rs Outdated Show resolved Hide resolved
@nick-mobilecoin nick-mobilecoin requested review from eranrund and cbeck88 and removed request for a team May 24, 2023 17:33
@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Merging #98 (93c94dd) into nick/quote-verifier (c13662f) will increase coverage by 0.07%.
The diff coverage is 98.63%.

@@                   Coverage Diff                   @@
##           nick/quote-verifier      #98      +/-   ##
=======================================================
+ Coverage                97.83%   97.90%   +0.07%     
=======================================================
  Files                        7        7              
  Lines                     2028     2101      +73     
=======================================================
+ Hits                      1984     2057      +73     
  Misses                      44       44              
Impacted Files Coverage Δ
verifier/src/tcb.rs 99.81% <98.57%> (+0.02%) ⬆️
verifier/src/lib.rs 92.72% <100.00%> (+0.06%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

verifier/src/tcb.rs Outdated Show resolved Hide resolved
Add `TcbRawInfoVerifier` which can be composed with other verifiers to
verify the signature and date validity of the `TcbRawInfo`.
Previously an `Error` was used for the `TcbInfoRawVerifier`. This
required one to set the error even when the verification succeeded. Now
an `Option` is used to more clearly delineate an error vs success.
@nick-mobilecoin
Copy link
Collaborator Author

@nick-mobilecoin started a stack merge that includes this pull request via Graphite.

Base automatically changed from nick/quote-verifier to main May 25, 2023 14:05
@nick-mobilecoin nick-mobilecoin merged commit 9a8f4fa into main May 25, 2023
@nick-mobilecoin nick-mobilecoin deleted the nick/tcb-signature-verifier branch May 25, 2023 14:05
@nick-mobilecoin
Copy link
Collaborator Author

@nick-mobilecoin merged this pull request with Graphite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Large PRs
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants