-
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 SignedQeIdentityVerifier
#105
Conversation
Add a verifier which verifies the signature and time validity of the qe identity json data.
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
❌ Unreviewed dependencies found
|
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, I don't think there's a huge win in going with SignedJson
and the alias
trick
Previously `Verifier`s that had a `Value` of `Option<Error>` had logic to manually get the error out of a `Result<>` and convert it to the `Option<Error>`. This logic has been simplified by utilizing the [`err()`](https://doc.rust-lang.org/std/result/enum.Result.html#method.err) method of the `Result<>` type.
Codecov Report
@@ Coverage Diff @@
## nick/qe_identity #105 +/- ##
====================================================
- Coverage 98.41% 98.37% -0.05%
====================================================
Files 10 10
Lines 2460 2645 +185
====================================================
+ Hits 2421 2602 +181
- Misses 39 43 +4
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Add a verifier which verifies the signature and time validity of the qe
identity json data.
Be sure and look at #105 (comment) as it may push for a different implementation