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
This commit is contained in:
realbigsean 2020-10-02 06:57:40 +00:00 committed by Paul Hauner
parent 255cc25623
commit 17c5da478e
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View File

@ -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]]

View File

@ -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"