Repository navigation
crypto: migrate environmentd TLS to rustls - #36089
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]>
Switch environmentd HTTP server, test infrastructure, and auth tests from openssl to rustls. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
jasonhernandez
force-pushed
the
jason/crypto-tls-5-environmentd
branch
from
July 7, 2026 08:23
aee7b52 to
6c70ed4
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 5/6 of the TLS migration from OpenSSL to rustls. This is the largest split.
Migrates environmentd's HTTP server and comprehensive TLS test infrastructure:
--tls-cert/--tls-keyloading to use rustls via mz-tls-util.hyper-opensslHTTPS connector withhyper-rustlsfor console proxy. Drophyper-tlsdependency.openssltorcgen. Build rustlsClientConfigfor test HTTPS/pgwire clients.opensslcert manipulation torcgen/rustls-pemfile. This is the largest file change (~540 lines).Dependency chain
Test plan
cargo checkpasses for mz-environmentdcargo test -p mz-environmentd -- authpassescargo test -p mz-environmentd -- serverpasses🤖 Generated with Claude Code
Part of SEC-219.