Closed asiridissa closed 10 months ago
This pseudocode subjected to change depending on the outcome of issue #10 and #9
Decided to use following points as rules.
timestamp
has to be generated using UTC time.body
has to be the exact request payload. Could be formatted with spaces and line breaks or not.
Added these rules in swagger 0.5.a3 and closing this issue.
HMAC message parameters
Here are some sample values to feed in HMAC signature generation and pseudocode for HMAC function.
Rules about
timestamp
andbody
parameter values have some ambiguity. Following two rules will make all of us compatible with each other.timestamp
has to be generated using UTC time.body
has to be the exact request payload. Could be formatted with spaces and line breaks or not.Appreciate you feedback.