chore(lite): install aws-lc-rs as default crypto provider for rustls#171
Merged
chore(lite): install aws-lc-rs as default crypto provider for rustls#171
Conversation
Contributor
Greptile OverviewGreptile SummaryThis PR adds explicit initialization of the aws-lc-rs crypto provider for rustls in both the CLI and lite server binaries. Both binaries now call Changes:
Analysis: Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Main as main()
participant InstallFn as install_rustls_crypto_provider()
participant RustlsCrypto as rustls::crypto::aws_lc_rs
participant RustlsGlobal as rustls global state
Main->>InstallFn: call at startup
InstallFn->>RustlsCrypto: default_provider()
RustlsCrypto-->>InstallFn: CryptoProvider instance
InstallFn->>RustlsGlobal: install_default()
alt Provider not yet installed
RustlsGlobal-->>InstallFn: Ok(())
InstallFn-->>Main: success
else Provider already installed
RustlsGlobal-->>InstallFn: Err(...)
InstallFn->>InstallFn: panic via .expect()
end
Main->>Main: continue with app initialization
|
Merged
quettabit
pushed a commit
that referenced
this pull request
Feb 5, 2026
## 🤖 New release * `s2-lite`: 0.27.3 -> 0.27.4 (✓ API compatible changes) * `s2-cli`: 0.27.3 -> 0.27.4 <details><summary><i><b>Changelog</b></i></summary><p> ## `s2-lite` <blockquote> ## [0.27.4] - 2026-02-05 ### Miscellaneous Tasks - Install aws-lc-rs as default crypto provider for rustls ([#171](#171)) <!-- generated by git-cliff --> </blockquote> ## `s2-cli` <blockquote> ## [0.27.4] - 2026-02-05 ### Bug Fixes - Only set default_stream_config when stream config args provided ([#164](#164)) ### Miscellaneous Tasks - Install aws-lc-rs as default crypto provider for rustls ([#171](#171)) <!-- generated by git-cliff --> </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This was referenced Feb 5, 2026
Merged
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.
No description provided.