Update outdated dependencies (#2425)

This updates some older dependencies to address a few cargo audit warnings.

The majority of warnings come from network dependencies which will be addressed in #2389. 

This PR contains some minor dep updates that are not network related.

Co-authored-by: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
Age Manning
2021-07-05 00:54:17 +00:00
parent 206486006c
commit 73d002ef92
10 changed files with 691 additions and 655 deletions

View File

@@ -8,7 +8,6 @@ edition = "2018"
[dependencies]
rand = "0.7.3"
aes-ctr = "0.6.0"
hmac = "0.10.1"
pbkdf2 = { version = "0.6.0", default-features = false }
scrypt = { version = "0.5.0", default-features = false }
@@ -23,6 +22,7 @@ eth2_ssz = "0.1.2"
serde_json = "1.0.58"
eth2_key_derivation = { path = "../eth2_key_derivation" }
unicode-normalization = "0.1.16"
aes = { version = "0.7", features = ["ctr"] }
[dev-dependencies]
tempfile = "3.1.0"

View File

@@ -7,9 +7,9 @@ use crate::json_keystore::{
Kdf, KdfModule, Scrypt, Sha256Checksum, Version,
};
use crate::Uuid;
use aes_ctr::cipher::generic_array::GenericArray;
use aes_ctr::cipher::{NewStreamCipher, SyncStreamCipher};
use aes_ctr::Aes128Ctr as AesCtr;
use aes::cipher::generic_array::GenericArray;
use aes::cipher::{NewCipher, StreamCipher};
use aes::Aes128Ctr as AesCtr;
use bls::{Keypair, PublicKey, SecretKey, ZeroizeHash};
use eth2_key_derivation::PlainText;
use hmac::Hmac;