kayx23 commented on code in PR #14159: URL: https://github.com/apache/apisix/pull/14159#discussion_r4509935146
########## docs/en/latest/plugins/hmac-auth.md: ########## @@ -941,7 +953,7 @@ Using the headers generated, send a request to the Route: curl "http://127.0.0.1:9080/post" -X POST \ -H "Date: Fri, 06 Sep 2024 09:16:16 GMT" \ Review Comment: This fixed September 2024 `Date` is far outside the plugin's default 300-second clock-skew window. `hmac-auth.lua` checks clock skew before validating the signature or body digest, so this supposed successful request now returns `401`, and the negative request below does not demonstrate digest validation. Please pass freshly generated values directly into `curl` (or use clear placeholders that the reader must replace) instead of embedding the dated sample headers. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
