-
Notifications
You must be signed in to change notification settings - Fork 213
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
Remove HTTP signature for self RPCs #2885
Remove HTTP signature for self RPCs #2885
Conversation
CHANGELOG.md
Outdated
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. | |||
### Changed | |||
|
|||
- CCF is now built with Clang 10. It is recommended that C++ applications upgrade to Clang 10 as well. | |||
- Internal `/gov/jwt_keys/refresh` endpoint has been moved to `/node/jwt_keys/refresh`. |
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.
This endpoint isn't listed in the OpenAPI spec yet it shows up in the metrics for a given frontend so I've listed it here just in case.
…e/CCF into fix_node_signature_self_requests
fix_node_signature_self_requests@30827 aka 20210813.3 vs main ewma over 20 builds from 30310 to 30824 Click to see table
|
Force merging this PR as the Daily failure is unrelated (see #2896). |
Nodes' self RPCs (genesis and JWT refresh) were signed, but with the wrong
keyId
. These signatures weren't actually verified so this PR removes the HTTP signature on those. Note that as discussed with @achamayou and @eddyashton, there is no apparent benefit in signing and storing these signatures currently (the primary node already emits signature transactions for blame), so we will hold off doing this for now.Also:
/gov/jwt_keys/refresh
endpoint to/node
/node/create
genesis endpoint that was made more permissive in Unify genesis and public recovery transaction execution #2876 with the node internal state, so that the endpoint can't be called once the service is open