fix: add explicit crypto provider

This commit is contained in:
Brandon Freeman
2026-04-09 17:10:21 +02:00
committed by Matteo De Agazio
parent a26f762635
commit e1790b5380
4 changed files with 5 additions and 0 deletions
Generated
+1
View File
@@ -4180,6 +4180,7 @@ dependencies = [
"openfang-wire",
"rand 0.8.5",
"reqwest 0.12.28",
"rustls 0.23.37",
"serde",
"serde_json",
"subtle",
+1
View File
@@ -63,6 +63,7 @@ clap_complete = "4"
# HTTP client (for LLM drivers)
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "multipart", "rustls-tls", "gzip", "deflate", "brotli"] }
rustls = { version = "0.23", default-features = false, features = ["ring"] }
# Async trait
async-trait = "0.1"
+1
View File
@@ -33,6 +33,7 @@ subtle = { workspace = true }
rand = { workspace = true }
hex = { workspace = true }
reqwest = { workspace = true }
rustls = { workspace = true }
cron = "0.15"
zeroize = { workspace = true }
+2
View File
@@ -511,6 +511,8 @@ impl OpenFangKernel {
/// Boot the kernel with an explicit configuration.
pub fn boot_with_config(mut config: KernelConfig) -> KernelResult<Self> {
let _ = rustls::crypto::ring::default_provider().install_default();
use openfang_types::config::KernelMode;
// Env var overrides — useful for Docker where config.toml is baked in.