Skip to content

Switch some dependencies to aws-lc-sys from ring#7226

Open
Aaron1011 wants to merge 1 commit intomainfrom
aaron/partial-aws-switch
Open

Switch some dependencies to aws-lc-sys from ring#7226
Aaron1011 wants to merge 1 commit intomainfrom
aaron/partial-aws-switch

Conversation

@Aaron1011
Copy link
Copy Markdown
Member

@Aaron1011 Aaron1011 commented Apr 8, 2026

There are still some dependencies that we can't adjust yet (e.g. object_store). Once those are updated upstream, we should ban ring (which not does support post-quantum cryptography)


Note

Medium Risk
Swaps TLS/crypto providers from ring to aws-lc-rs (including certificate generation and SQLx TLS), which can impact handshake compatibility and platform-specific behavior despite limited code churn.

Overview
Moves parts of the Rust workspace off ring and onto the aws-lc-rs crypto backend.

Updates workspace TLS dependencies by switching sqlx to tls-rustls-aws-lc-rs, configuring provider-proxy to use rcgen with aws_lc_rs and the workspace rustls, and installing the rustls::crypto::aws_lc_rs default provider at runtime. Cargo.lock is updated accordingly (notably rcgen/x509-parser now depend on aws-lc-rs, plus minor patch bumps like tokio, semver, fastrand, and toml_edit).

Reviewed by Cursor Bugbot for commit 62b559e. Bugbot is set up for automated code reviews on this repo. Configure here.

There are still some dependencies that we can't adjust yet
(e.g. `object_store`). Once those are updated upstream, we should
ban `ring` (which not does support post-quantum cryptography)
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 62b559e. Configure here.

Comment thread crates/provider-proxy/Cargo.toml
@shuyangli shuyangli assigned Aaron1011 and unassigned shuyangli Apr 8, 2026
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.

2 participants