-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Now that we have some real world usage of rpc-auth via conveyor we are seeing a significant amount of RPCError: Unauthorized: Signature expired caused by clients who disagree with our servers on what the current time is.
My proposed solution to this is as follows:
- Extend
rpc-auth'ssignandvalidatemethods to accept aDateobject that represents current time. - In the clients, call steemd
get_dynamic_global_propertiesand use that as a clock source for creating newDateobjects passed tosign
We could also use get_dynamic_global_properties as a clock source for the verifying rpc services but might be overkill as we can easily ensure their clocks are in sync with our steemd cluster.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels