fix: install rustls ring crypto provider #77

Merged
ada merged 1 commit from fix/install-rustls-provider into master 2026-06-01 00:52:01 +00:00
Collaborator

Problem

After fixing the non-root bind-mount permission gate, the v2.2.5 dev image reached the next live gate and panicked during startup:

Could not automatically determine the process-level CryptoProvider from Rustls crate features.
Call CryptoProvider::install_default() before this point to select a provider manually...

The crate enables rustls ring, while dependencies also pull in aws-lc-rs, so rustls 0.23 cannot infer a unique process-level provider.

Approach

Install the rustls ring crypto provider at relay startup before tracing/config/server initialization.

Validation

Linux Docker toolchain on uvm:

  • cargo fmt --check
  • cargo test --locked -p portal-relay state::identity::tests::relay_identity_file_is_private
## Problem After fixing the non-root bind-mount permission gate, the v2.2.5 dev image reached the next live gate and panicked during startup: ```text Could not automatically determine the process-level CryptoProvider from Rustls crate features. Call CryptoProvider::install_default() before this point to select a provider manually... ``` The crate enables rustls `ring`, while dependencies also pull in `aws-lc-rs`, so rustls 0.23 cannot infer a unique process-level provider. ## Approach Install the rustls ring crypto provider at relay startup before tracing/config/server initialization. ## Validation Linux Docker toolchain on `uvm`: - `cargo fmt --check` - `cargo test --locked -p portal-relay state::identity::tests::relay_identity_file_is_private`
fix: install rustls ring crypto provider
All checks were successful
Rust CI / Format, lint, and test (pull_request) Successful in 56s
cd923354b2
ada merged commit 2639d353ab into master 2026-06-01 00:52:01 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gofix/portal-tunnel-rs!77
No description provided.