-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: sigv4 now correctly trims spaces (#799)
* fix: sigv4 now correctly trims spaces add: test for space trimming add: s3 signing integration test add: lambda signing integration test * update: lambda signing test to skip lines that cause an InvalidSignatureException * add: tests for trim_all add: missing LICENSE for BLNS * fix: outdated use statements * fix: clippy err * add: missing dep to dynamodb bench update: ignore naughty strings tests that require real aws connection fix: s3 naughty strings metadata signing test * update: move blns to work with our testing process remove: circular dep aws-config from integration testing crates update: comment out tests not runnable by CI format: run cargo fmt * update: signature snapshot update: hide lambda tests from integration runner * update: SDK Changelog * add: proptest for normalize_header_value add: proptest for trim_all update: convert trimming to work on byte slices instead of strings update: update trimming test to use byte slices * fix: overly permissive whitespace check update: test_trim_all_ignores_other_forms_of_whitespace to be more robust update: use indexes over iterators in an attempt to appease the optimizer update: test_s3_signer_with_naughty_string_metadata expected signature * update: test_signer expected signature
- Loading branch information
Showing
14 changed files
with
2,016 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "lambda" | ||
version = "0.1.0" | ||
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Zelda Hessler <zhessler@amazon.com>"] | ||
edition = "2018" | ||
|
||
[dependencies] | ||
async-stream = "0.3" | ||
aws-http = { path = "../../build/aws-sdk/aws-http"} | ||
aws-hyper = { path = "../../build/aws-sdk/aws-hyper"} | ||
aws-sdk-lambda = { path = "../../build/aws-sdk/lambda" } | ||
base64 = "0.13" | ||
bytes = "1" | ||
futures-core = "0.3" | ||
http = "0.2.3" | ||
serde_json = "1" | ||
smithy-client = { path = "../../build/aws-sdk/smithy-client", features = ["test-util"] } | ||
smithy-eventstream = { path = "../../build/aws-sdk/smithy-eventstream" } | ||
smithy-http = { path = "../../build/aws-sdk/smithy-http" } | ||
tokio = { version = "1", features = ["full"]} | ||
tracing-subscriber = "0.2.18" |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015-2020 Max Woolf | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.