Commit e4df91c
adapter: run the LaunchDarkly HTTPS transport on aws-lc-rs, not ring
The `launchdarkly-sdk-transport` crate's `build_https` hardcodes its
`hyper-rustls` dependency to the `ring` crypto provider, which is not
FIPS 140-3 validated. The crate exposes no aws-lc-rs feature, so we
cannot select the provider there.
Instead, build a `hyper-rustls` `HttpsConnector` on the aws-lc-rs rustls
provider ourselves and inject it via the transport crate's
`build_with_connector`. To keep the ring-pinned `hyper-rustls` out of the
build entirely, the workspace now selects only the base `hyper` feature on
both `launchdarkly-server-sdk` and `launchdarkly-sdk-transport` (dropping
`hyper-rustls-native-roots`, which was the sole activator of
`hyper-rustls/ring`), and `mz-adapter` depends on `hyper-rustls` and
`rustls` directly. `ring` is no longer reachable through the LaunchDarkly
transport path. It remains only as a direct dependency of `gcp_auth`.
native-tls was already eliminated on the LD-3.1.1 base, so this closes the
remaining crypto-provider gap for the FIPS migration.
The `MetricsTransport` wrapping and the event-processor / streaming
data-source builders are unchanged: only the underlying HTTPS transport's
crypto provider changes.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent da5a8c4 commit e4df91c
4 files changed
Lines changed: 37 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
392 | 400 | | |
393 | 401 | | |
394 | 402 | | |
| |||
407 | 415 | | |
408 | 416 | | |
409 | 417 | | |
410 | | - | |
411 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
412 | 429 | | |
413 | 430 | | |
414 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
388 | 401 | | |
389 | 402 | | |
390 | 403 | | |
391 | | - | |
| 404 | + | |
392 | 405 | | |
393 | 406 | | |
394 | 407 | | |
| |||
0 commit comments