Unverified Commit fe486f74 authored by Bohdan Parkhomchuk's avatar Bohdan Parkhomchuk 💬
Browse files

refactor(server): replace ring with aws-lc-rs

parent 7e359b4f
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ tracing = "0.1.44"
uuid = { version = "1.19.0", features = ["v4"] }
async-nats = { version = "0.46.0", features = ["server_2_11"] }
arrow-ipc = "57.2.0"
clickhouse = { version = "0.14", features = ["inserter", "rustls-tls-ring", "rustls-tls-native-roots"] }
clickhouse = { version = "0.14", features = ["inserter", "rustls-tls-aws-lc", "rustls-tls-native-roots"] }
testcontainers = "0.27.1"
testcontainers-modules = { version = "0.15.0", features = ["nats", "clickhouse"] }

@@ -134,7 +134,7 @@ bollard = "0.20"
kube = { version = "3.0", features = ["client", "runtime", "ws"] }
k8s-openapi = { version = "0.27", features = ["v1_31"] }
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls-no-provider"] }
rustls = { version = "0.23.36", default-features = false, features = ["ring"] }
rustls = { version = "0.23.36", default-features = false, features = ["aws_lc_rs"] }
health-check = { path = "crates/health-check" }
gitlab-client = { path = "crates/gitlab-client" }

+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ mod tests {
    }

    fn install_crypto_provider() {
        let _ = rustls::crypto::ring::default_provider().install_default();
        let _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
    }

    fn config_with_resolve(
+1 −1
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ mod tests {
    use tokio::net::TcpListener;

    fn install_crypto_provider() {
        let _ = rustls::crypto::ring::default_provider().install_default();
        let _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
    }

    async fn start_mock_sidecar(health: HealthStatus) -> String {
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ use tracing::info;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    rustls::crypto::ring::default_provider()
    rustls::crypto::aws_lc_rs::default_provider()
        .install_default()
        .expect("Failed to install rustls CryptoProvider");

+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ mod tests {
    use super::*;

    fn install_crypto_provider() {
        let _ = rustls::crypto::ring::default_provider().install_default();
        let _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
    }

    #[test]