diff --git a/spec/openapi.yaml b/spec/openapi.yaml index 412eedf..6323542 100644 --- a/spec/openapi.yaml +++ b/spec/openapi.yaml @@ -104,7 +104,7 @@ tags: ```plain - Authorization: hmac username="", algorithm="hmac-sha1", headers ="Date Content-MD5 request-line", signature="" + Authorization: hmac username="", algorithm="hmac-sha256", headers ="Date Content-MD5 request-line", signature="" ``` @@ -114,7 +114,7 @@ tags: ```plain - Authorization: hmac username="", algorithm="hmac-sha1", headers="Date request-line", signature="" + Authorization: hmac username="", algorithm="hmac-sha256", headers="Date request-line", signature="" ``` @@ -150,7 +150,7 @@ tags: #### Step 4 - Create a SHA1 HMAC hash using the signing string and the secret key (both converted to bytes using UTF-8) ```HMAC-SHA1(signing string, secret)``` + Create a SHA256 HMAC hash using the signing string and the secret key (both converted to bytes using UTF-8) ```HMAC-SHA256(signing string, secret)``` #### Step 5 @@ -170,7 +170,7 @@ tags: Date: Sat, 30 Jul 2016 05:18:52 GMT - Authorization: hmac username="uCXUdoogNfCsehEClbO2", algorithm="hmac-sha1", headers="Date Content-MD5 request-line", signature="Ia4G5lkhH/3NDYpix+8ZHUnp6bA=" + Authorization: hmac username="uCXUdoogNfCsehEClbO2", algorithm="hmac-sha256", headers="Date Content-MD5 request-line", signature="Ia4G5lkhH/3NDYpix+8ZHUnp6bA=" Content-MD5: 5407644fa83bec240dede971307e0cad @@ -202,7 +202,7 @@ tags: Date: Sat, 30 Jul 2016 05:18:52 GMT - Authorization: hmac username="uCXUdoogNfCsehEClbO2", algorithm="hmac-sha1", headers="Date request-line", signature="NTUwMjUwNTVmZGYzZTIxODMyYjc1ZmM3M2EwZWQ1NzA3NzA4ZTZjNw==" + Authorization: hmac username="uCXUdoogNfCsehEClbO2", algorithm="hmac-sha256", headers="Date request-line", signature="NTUwMjUwNTVmZGYzZTIxODMyYjc1ZmM3M2EwZWQ1NzA3NzA4ZTZjNw==" ``` - name: Development Tools description: |