add aws-smithy-http-client#940
Open
sky1122 wants to merge 6 commits into
Open
Conversation
Add a centralized CryptoProvider crate that provides runtime FIPS detection and TLS algorithm selection for Bottlerocket Rust binaries. When the kernel FIPS flag is enabled (/proc/sys/crypto/fips_enabled = 1), the provider restricts TLS to FIPS-approved algorithms only (AES-GCM cipher suites, P-256/P-384 key exchange). On non-FIPS systems, the full algorithm set is available. Signed-off-by: Jingwei Wang <jweiw@amazon.com>
Signed-off-by: Jingwei Wang <jweiw@amazon.com>
b9e6362 to
d559d7b
Compare
Add a local carry of the aws-smithy-http-client crate from smithy-rs with support for custom CryptoProvider injection. This enables Bottlerocket binaries to configure TLS at runtime rather than relying on compile-time feature flags for FIPS crypto selection. This replaces aws-smithy-experimental as the HTTP client abstraction for binaries that need explicit control over TLS configuration. Signed-off-by: Jingwei Wang <jweiw@amazon.com>
Replace the deprecated aws-smithy-experimental crate with aws-smithy-http-client for HTTP client construction in pluto. The new crate provides explicit TLS provider selection and proxy configuration through the ConnectorBuilder API. Signed-off-by: Jingwei Wang <jweiw@amazon.com>
Replace aws-smithy-experimental with aws-smithy-http-client for CloudFormation signal HTTP client construction. The new crate provides explicit TLS provider selection and proxy configuration through the ConnectorBuilder API. Signed-off-by: Jingwei Wang <jweiw@amazon.com>
Remove the deprecated aws-smithy-experimental crate from the workspace. This crate has been superseded by aws-smithy-http-client which provides the same HTTP client functionality with support for custom CryptoProvider injection. No binaries depend on aws-smithy-experimental after the pluto and cfsignal migrations to aws-smithy-http-client. Signed-off-by: Jingwei Wang <jweiw@amazon.com>
d559d7b to
cc85b99
Compare
Contributor
Author
|
forced pushed to change the copy right and I also drop the bloodhound commit from this PR. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes:
This PR adds a local carry of aws-smithy-http-client from aws-sdk-rs and migrates pluto and cfsignal from the deprecated
aws-smithy-experimental crate. The old aws-smithy-experimental crate is removed from the workspace.
The carry makes two key modifications from upstream:
A full diff against upstream is available in this gist.
Note: The first three commits will disappear after the previous PR is merged.
Testing done:
setting bottlerocket with
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.