From 733682397763dee048b817caa1544f0421e37822 Mon Sep 17 00:00:00 2001 From: Andrew Whitehead Date: Fri, 15 Sep 2023 13:18:12 -0700 Subject: [PATCH] enable zeroize for dalek crates Signed-off-by: Andrew Whitehead --- indy-data-types/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indy-data-types/Cargo.toml b/indy-data-types/Cargo.toml index 50813d5..2d680e5 100644 --- a/indy-data-types/Cargo.toml +++ b/indy-data-types/Cargo.toml @@ -30,7 +30,9 @@ vendored = ["anoncreds-clsignatures?/openssl_vendored"] anoncreds-clsignatures = { version = "0.2", optional = true } bs58 = "0.5" curve25519-dalek = { version = "4.1", default-features = false, optional = true } -ed25519-dalek = { version = "2.0", default-features = false, optional = true } +ed25519-dalek = { version = "2.0", default-features = false, features = [ + "zeroize", +], optional = true } hex = { version = "0.4", optional = true } once_cell = "1" rand = { version = "0.8", optional = true } @@ -41,6 +43,7 @@ sha2 = { version = "0.10", optional = true } thiserror = "1" x25519-dalek = { version = "2.0", default-features = false, optional = true, features = [ "static_secrets", + "zeroize", ] } zeroize = { version = "1", features = ["zeroize_derive"] }