-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
tests/aws-signing-test-suite/v4/post-unsigned-payload/header-canonical-request.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
POST | ||
/ | ||
|
||
content-length:13 | ||
host:example.amazonaws.com | ||
x-amz-content-sha256:UNSIGNED-PAYLOAD | ||
x-amz-date:20150830T123600Z | ||
|
||
host;x-amz-content-sha256;x-amz-date | ||
content-length;host;x-amz-content-sha256;x-amz-date | ||
UNSIGNED-PAYLOAD |
2 changes: 1 addition & 1 deletion
2
tests/aws-signing-test-suite/v4/post-unsigned-payload/header-signature.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
05e1b307416f2cbcf15dd86269efd55537182ee4416101af58762e96bba470bb | ||
9fb60e8938d2178a7d63b49e055d1e65d8f6226f38846e8e0293bf43ce29050c |
4 changes: 3 additions & 1 deletion
4
tests/aws-signing-test-suite/v4/post-unsigned-payload/header-signed-request.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
POST / HTTP/1.1 | ||
Host:example.amazonaws.com | ||
Content-Length:13 | ||
X-Amz-Date:20150830T123600Z | ||
x-amz-content-sha256:UNSIGNED-PAYLOAD | ||
Authorization:AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=05e1b307416f2cbcf15dd86269efd55537182ee4416101af58762e96bba470bb | ||
Authorization:AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-length;host;x-amz-content-sha256;x-amz-date, Signature=9fb60e8938d2178a7d63b49e055d1e65d8f6226f38846e8e0293bf43ce29050c | ||
|
||
Param1=value1 |
2 changes: 1 addition & 1 deletion
2
tests/aws-signing-test-suite/v4/post-unsigned-payload/header-string-to-sign.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
AWS4-HMAC-SHA256 | ||
20150830T123600Z | ||
20150830/us-east-1/service/aws4_request | ||
aa6266a3ff4aa2eccc273b6b6a91e47e87b52b74508854d7c367c8e0dcd171ed | ||
9dd145dbd195542d88539477304a02796be6488c02842b4fc1b907203adc8663 |
5 changes: 3 additions & 2 deletions
5
tests/aws-signing-test-suite/v4/post-unsigned-payload/query-canonical-request.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
POST | ||
/ | ||
X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fus-east-1%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host%3Bx-amz-content-sha256 | ||
X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fus-east-1%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=content-length%3Bhost%3Bx-amz-content-sha256 | ||
content-length:13 | ||
host:example.amazonaws.com | ||
x-amz-content-sha256:UNSIGNED-PAYLOAD | ||
|
||
host;x-amz-content-sha256 | ||
content-length;host;x-amz-content-sha256 | ||
UNSIGNED-PAYLOAD |
2 changes: 1 addition & 1 deletion
2
tests/aws-signing-test-suite/v4/post-unsigned-payload/query-signature.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ec2168c832d326a5d1a7ad05d85a8e3770e6db2deaf99b08b5e6112bce1d69db | ||
d5b951b200c7f96f239466b3e1978083ccd08678d4aea2b0bebaa6b2cf3d8c13 |
4 changes: 3 additions & 1 deletion
4
tests/aws-signing-test-suite/v4/post-unsigned-payload/query-signed-request.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
POST /?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fus-east-1%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-SignedHeaders=host%3Bx-amz-content-sha256&X-Amz-Expires=3600&X-Amz-Signature=ec2168c832d326a5d1a7ad05d85a8e3770e6db2deaf99b08b5e6112bce1d69db HTTP/1.1 | ||
POST /?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fus-east-1%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-SignedHeaders=content-length%3Bhost%3Bx-amz-content-sha256&X-Amz-Expires=3600&X-Amz-Signature=d5b951b200c7f96f239466b3e1978083ccd08678d4aea2b0bebaa6b2cf3d8c13 HTTP/1.1 | ||
Host:example.amazonaws.com | ||
Content-Length:13 | ||
x-amz-content-sha256:UNSIGNED-PAYLOAD | ||
|
||
Param1=value1 |
2 changes: 1 addition & 1 deletion
2
tests/aws-signing-test-suite/v4/post-unsigned-payload/query-string-to-sign.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
AWS4-HMAC-SHA256 | ||
20150830T123600Z | ||
20150830/us-east-1/service/aws4_request | ||
11f2ce4330f6d25be401ad9feb4deb5c054528030939b27762878a3710e81fdb | ||
24b3d8a2ee4f76884e0b2bedfaeb8f4feca93e09d9e53b7d13bc040efd106329 |