From 6e97f8007720b930bd129e03a279f07f99463ac2 Mon Sep 17 00:00:00 2001 From: Ertugrul Aypek Date: Sat, 11 Jan 2025 18:00:04 +0100 Subject: [PATCH] pin specific openssl version --- Cargo.lock | 12 ++++++++++++ Cargo.toml | 1 + iris-mpc-store/Cargo.toml | 1 + iris-mpc/Cargo.toml | 1 + 4 files changed, 15 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 0eedb7f85..2db023c57 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2746,6 +2746,7 @@ dependencies = [ "metrics-exporter-statsd 0.7.0", "mountpoint-s3-client", "ndarray", + "openssl", "rand", "reqwest 0.12.9", "serde", @@ -2895,6 +2896,7 @@ dependencies = [ "iris-mpc-common", "itertools 0.13.0", "mountpoint-s3-client", + "openssl", "rand", "rayon", "serde", @@ -3700,6 +3702,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.4.1+3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faa4eac4138c62414b5622d1b31c5c304f34b406b013c079c2bbc652fdd6678c" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.104" @@ -3708,6 +3719,7 @@ checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index f2d7d8751..00dc116d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,6 +52,7 @@ telemetry-batteries = { git = "https://github.com/worldcoin/telemetry-batteries. thiserror = "1" tokio = { version = "1.40", features = ["full", "rt-multi-thread"] } uuid = { version = "1", features = ["v4"] } +openssl = { version = "0.10", features = ["vendored"] } mountpoint-s3-client = "0.11.0" # Abort on panics rather than unwinding. diff --git a/iris-mpc-store/Cargo.toml b/iris-mpc-store/Cargo.toml index d4aef682e..26936ed22 100644 --- a/iris-mpc-store/Cargo.toml +++ b/iris-mpc-store/Cargo.toml @@ -25,6 +25,7 @@ tracing.workspace = true tokio.workspace = true rand.workspace = true rayon.workspace = true +openssl.workspace = true mountpoint-s3-client.workspace = true [dev-dependencies] diff --git a/iris-mpc/Cargo.toml b/iris-mpc/Cargo.toml index cea45776a..f0bce4391 100644 --- a/iris-mpc/Cargo.toml +++ b/iris-mpc/Cargo.toml @@ -28,6 +28,7 @@ rand.workspace = true base64.workspace = true uuid.workspace = true reqwest.workspace = true +openssl.workspace = true mountpoint-s3-client.workspace = true sodiumoxide = "0.2.7" iris-mpc-gpu = { path = "../iris-mpc-gpu" }