Hi Ryan/Stefan,
I went through the code part in crypto.js and on understanding how they calculated the Payload hash, I replicated the code part in my implementation.
Now I am able to get successful certificate.
Thanks a lot for your guidance :)
Regards,
Manoj
------- Original Message -------
Sender : Stefan Arentz<[email protected]>
Date : Oct 20, 2014 19:39 (GMT+05:30)
Title : Re: Error in POST /v1/certificate/sign response.
On Oct 20, 2014, at 8:26 AM, Manoj Kumar S <[email protected]> wrote:
Hi Ryan/ Stefan,
I have built a local server, from your code in /example/usage.js of https://github.com/hueniverse/hawk
I debugged through the client and server code on how they calculate and validate the payload hash,
As far as I understood, the error message "Payload is Invalid", happens when server code compares the request hash ( sent as header by client ) with the generated
hash from payload.
Thanks,
Manoj
|
|
_______________________________________________ Dev-fxacct mailing list [email protected] https://mail.mozilla.org/listinfo/dev-fxacct

