From 17c5da478e88427ec64b375594f12a0433dc8a96 Mon Sep 17 00:00:00 2001 From: realbigsean Date: Fri, 2 Oct 2020 06:57:40 +0000 Subject: [PATCH] Update tiny-bip39 dependency to one implementing zeroize (#1701) ## Issue Addressed Resolves #1130 ## Proposed Changes Use the sigp fork of tiny-bip39, which includes `Zeroize` for `Mnemonic` and `Seed` ## Additional Info N/A --- Cargo.lock | 4 ++-- crypto/eth2_wallet/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9abb6d62d..27e720b9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5529,8 +5529,7 @@ dependencies = [ [[package]] name = "tiny-bip39" version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0165e045cc2ae1660270ca65e1676dbaab60feb0f91b10f7d0665e9b47e31f2" +source = "git+https://github.com/sigp/tiny-bip39.git?rev=1137c32da91bd5e75db4305a84ddd15255423f7f#1137c32da91bd5e75db4305a84ddd15255423f7f" dependencies = [ "failure", "hmac 0.7.1", @@ -5540,6 +5539,7 @@ dependencies = [ "rustc-hash", "sha2 0.8.2", "unicode-normalization", + "zeroize", ] [[package]] diff --git a/crypto/eth2_wallet/Cargo.toml b/crypto/eth2_wallet/Cargo.toml index db99a3872..47e6e02d9 100644 --- a/crypto/eth2_wallet/Cargo.toml +++ b/crypto/eth2_wallet/Cargo.toml @@ -14,7 +14,7 @@ uuid = { version = "0.8", features = ["serde", "v4"] } rand = "0.7.2" eth2_keystore = { path = "../eth2_keystore" } eth2_key_derivation = { path = "../eth2_key_derivation" } -tiny-bip39 = "0.7.3" +tiny-bip39 = { git = "https://github.com/sigp/tiny-bip39.git", rev = "1137c32da91bd5e75db4305a84ddd15255423f7f" } [dev-dependencies] hex = "0.4.2"