Repository navigation
crypto: migrate client TLS to rustls (postgres-util, ccsr) - #36087
Draft
jasonhernandez wants to merge 2 commits into
Draft
jasonhernandez wants to merge 2 commits into
jasonhernandez wants to merge 2 commits into
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
|
Add rustls, aws-lc-rs, hyper-rustls, rcgen, tokio-rustls workspace deps and the mz-ore `crypto` feature with FIPS-aware CryptoProvider helpers. Azure SDK forks patched to support reqwest-rustls-no-provider. Removes the rustls ban from deny.toml. Does NOT bump LaunchDarkly SDK (deferred to end of migration). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
… ccsr) Switch postgres client TLS connectors and ccsr from openssl to rustls. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
jasonhernandez
force-pushed
the
jason/crypto-tls-3-pg-client
branch
from
July 7, 2026 08:07
5902a40 to
5bd7628
Compare
This branch has not been deployed
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
Split 3/6 of the TLS migration from OpenSSL to rustls.
Migrates client-side TLS connectors used for outbound Postgres and Schema Registry connections:
postgres-openssl::MakeTlsConnectorwithtokio-postgres-rustls::MakeRustlsConnect. Updatetunnel.rsTLS config to buildrustls::ClientConfiginstead ofopenssl::SslConnector.postgres_openssltotokio_postgres_rustls.tls.rscertificate loading fromopenssl::X509torustls_pki_types::CertificateDer.Dependency chain
Test plan
cargo checkpasses for mz-postgres-util, mz-postgres-client, mz-ccsr🤖 Generated with Claude Code
Part of SEC-192.