-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Verify validator token manifest matches private key #2268
Conversation
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.
👍
@@ -42,9 +42,23 @@ ValidatorKeys::ValidatorKeys(Config const& config, beast::Journal j) | |||
if (auto const token = ValidatorToken::make_ValidatorToken( |
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.
Looks like the non-unity build wants #include <beast/core/detail/base64.hpp>
Codecov Report
@@ Coverage Diff @@
## develop #2268 +/- ##
===========================================
- Coverage 70.11% 70.09% -0.02%
===========================================
Files 689 689
Lines 50800 50806 +6
===========================================
- Hits 35617 35615 -2
- Misses 15183 15191 +8
Continue to review full report at Codecov.
|
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.
Looks like a good change to me. Everything is building and passing for me on macOS. Thanks for adding the unit test!
7362ee3
to
ee4351d
Compare
Reject manifest with invalid public key type RIPD-1560
👍 |
Throw error if validator token key does not match manifest