You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/23 09:06:01 UTC
[GitHub] [apisix] Firstsawyou edited a comment on issue #4117: { message: 'Invalid signature' } in hmac after add Date clock_skew
Firstsawyou edited a comment on issue #4117:
URL: https://github.com/apache/apisix/issues/4117#issuecomment-825420666
> ${dataNow}
> User-Agent:curl/7.29.0
> x-custom-a:test
The signature string here seems to be incorrect, we don't need a key in the signature header. You try it like this:
```
const live =
`GET
/health
user-key-kelly
Date:${dataNow}
User-Agent:curl/7.29.0
x-custom-a:test
`;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org