Skip to content

chore(deps): Switch to tls_aws_lc - #3103

Merged
nathanielford merged 1 commit into
grpc:masterfrom
nathanielford:fix/rustls-ring-deprecation
Dec 3, 2026
Merged

nathanielford merged 1 commit into
grpc:masterfrom
nathanielford:fix/rustls-ring-deprecation

Conversation

@nathanielford

Copy link
Copy Markdown
Contributor

Motivation

Rustls pushed v0.23.48 which broke our CICD due to deprecating ring. (It does not support post-quantum algorithms and is generally unmaintained.) @dfawley and @ejona86 can't get any work done unless I, specifically, fix this.

Solution

Swap out for tls_aws_lc, which is the only feasible library. For the most part this is only used in examples and tests. In a few places we set allow(deprecated).

Notes

  • In tonix-xds there are flags swapping between tls_aws_lc and tls-ring, so these are using the allow(deprecated). Removing support for ring is left for a separate PR.

@dfawley

dfawley commented Dec 3, 2026

Copy link
Copy Markdown
Member

cc @YutaoMa @gu0keno0 @LucioFranco as FYI - do tonic-xds and tonic delete their ring and tls-ring features (respectively), or rename them to ...-deprecated perhaps? Note that there is no way to mark features as deprecated, so there's no way to pass this deprecation warning on to users.

@nathanielford
nathanielford merged commit ebb5c0a into grpc:master Dec 3, 2026
30 checks passed
@YutaoMa

YutaoMa commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

time to advertise https://github.com/microsoft/rustls-symcrypt 😏, yeah jokes aside I think at least for tonic-xds we are good with removing the ring feature. I think the best solution also is probably to follow setup like reqwest's rustls-no-provider to let application choose the provider always.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants