crypto: eliminate native-tls/OpenSSL/ring and unify on rustls/aws-lc-rs#35896
Draft
jasonhernandez wants to merge 1 commit intomainfrom
Draft
crypto: eliminate native-tls/OpenSSL/ring and unify on rustls/aws-lc-rs#35896jasonhernandez wants to merge 1 commit intomainfrom
jasonhernandez wants to merge 1 commit intomainfrom
Conversation
Contributor
|
Thanks for opening this PR! Here are a few tips to help make the review process smooth for everyone. PR title guidelines
Pre-merge checklist
|
4ce57fd to
c10ea9f
Compare
5e4ad29 to
d565803
Compare
c10ea9f to
a108aae
Compare
d565803 to
dd987fe
Compare
a108aae to
90b5984
Compare
dd987fe to
7e85c50
Compare
9131428 to
f5a46a7
Compare
Complete TLS migration from OpenSSL to rustls with aws-lc-rs as the sole crypto backend. This enables FIPS 140-3 compliance by ensuring all cryptographic operations go through a single, auditable library. - mz-ore: add `crypto` module with `#[ctor::ctor]` auto-install of aws-lc-rs CryptoProvider; split sentry into separate feature; switch async/tracing features from openssl to rustls/hyper-rustls - mz-tls-util: full rewrite from openssl to rustls — new MakeRustlsConnect, RustlsTlsStream types - pgwire-common, pgwire, server-core: tokio-openssl → tokio-rustls - balancerd: hyper-openssl → hyper-rustls; LD SDK behind telemetry feature - environmentd: rustls for HTTPS, rcgen for test certs, telemetry feature gating - ccsr: reqwest rustls, improved TLS error handling - persist: azure SDK with enable_reqwest_rustls_no_provider feature - kafka-util, environmentd: rdkafka ssl-vendored → ssl-awslc - fivetran-destination: openssl → aws-lc-rs/rustls for AES + postgres - npm: reqwest rustls + sha2 → aws-lc-rs digest - storage: sha2 → aws-lc-rs digest for upsert key hashing - adapter, balancerd, environmentd: LaunchDarkly SDK and Segment behind `telemetry` feature (disabled in FIPS builds to exclude non-compliant crypto deps) - LD SDK upgraded from 2.6.2 fork to upstream 3.0.1 - azure-sdk-for-rust: mz/enable-reqwest-rustls-no-provider - rust-sdk-transport: mz/aws-lc-rs-instead-of-ring - rust-rdkafka: jasonhernandez/ssl-awslc - mysql_async: rustls-fixes - tiberius: rustls-0.23-on-mz-changes - iceberg-rust: jasonhernandez/rustls-migration - duckdb-rs: mz/rustls-tls-no-provider - Ban native-tls, hyper-tls, openssl-sys, openssl-src, ring - Ban sha2, hmac, subtle with wrappers for third-party crates - Add skip entries for rustls ecosystem version duplicates - Docker builder: add Go + ninja-build + pre-built AWS-LC library - macOS agent: build AWS-LC for rdkafka ssl-awslc Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
f5a46a7 to
8df0ce1
Compare
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.
Summary
Complete TLS migration from OpenSSL to rustls with aws-lc-rs as the sole crypto backend, enabling FIPS 140-3 compliance.
Changes by area
Core infrastructure
cryptomodule with#[ctor::ctor]auto-install of aws-lc-rs CryptoProvider; split sentry into separate feature; switch async/tracing from openssl to rustls/hyper-rustlsServer-side TLS
telemetryfeaturetelemetryfeature gatingClient-side TLS
enable_reqwest_rustls_no_providerfeatureTelemetry compile-time gating
telemetryfeature (disabled in FIPS builds)Workspace forks
mz/enable-reqwest-rustls-no-providermz/aws-lc-rs-instead-of-ringjasonhernandez/ssl-awslcrustls-fixesrustls-0.23-on-mz-changesjasonhernandez/rustls-migrationmz/rustls-tls-no-providerdeny.toml
CI
Stack
Test plan
cargo check/cargo check --all-featurescargo deny check bans/cargo deny check licenses🤖 Generated with Claude Code