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/09/02 00:47:46 UTC

[GitHub] [apisix] caixiaomao edited a comment on issue #4962: docs: Improved hmac-auth plugin signature string generation instructions

caixiaomao edited a comment on issue #4962:
URL: https://github.com/apache/apisix/issues/4962#issuecomment-910964193


   @tzssangglass 
   It's not a bug, it's documentation that needs fixing。
   In the **Signature string splicing example**
   The `signing_string` generated according to the `signature generation formula` is:
   
   ```plain
   "GET
   /index.html
   age=36&name=james
   user-key
   Tue, 19 Jan 2021 11:33:20 GMT
   User-Agent:curl/7.29.0
   x-custom-a:test
   "
   ```
   
   If there is no date or canonical_query_string, The string that needs to be encrypted should look like this, and the documentation should complement this
   
   ```plain
   "GET
   /index.html
   
   user-key
   
   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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org