From 32d30a6f6392935feabd28122f4b77795c34eedf Mon Sep 17 00:00:00 2001 From: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com> Date: Wed, 12 Jun 2024 17:32:11 +0530 Subject: [PATCH] feat: Improved memfd-secret allocation --- Cargo.lock | 5 ++--- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0827c5a..c3e14d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1291,9 +1291,8 @@ dependencies = [ [[package]] name = "memsec" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c797b9d6bb23aab2fc369c65f871be49214f5c759af65bde26ffaaa2b646b492" +version = "0.6.3" +source = "git+https://github.com/rosenpass/memsec.git?rev=aceb9baee8aec6844125bd6612f92e9a281373df#aceb9baee8aec6844125bd6612f92e9a281373df" dependencies = [ "getrandom 0.2.15", "libc", diff --git a/Cargo.toml b/Cargo.toml index e394cc6..c4c3c35 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ env_logger = "0.10.2" toml = "0.7.8" static_assertions = "1.1.0" allocator-api2 = "0.2.14" -memsec = { version="0.7.0", features = [ "alloc_ext", ] } +memsec = { git="https://github.com/rosenpass/memsec.git" ,rev="aceb9baee8aec6844125bd6612f92e9a281373df", features = [ "alloc_ext", ] } rand = "0.8.5" typenum = "1.17.0" log = { version = "0.4.21" }