diff options
Diffstat (limited to 'ext/crypto')
| -rw-r--r-- | ext/crypto/Cargo.toml | 8 | ||||
| -rw-r--r-- | ext/crypto/decrypt.rs | 2 | ||||
| -rw-r--r-- | ext/crypto/encrypt.rs | 2 |
3 files changed, 5 insertions, 7 deletions
diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index fa7161aab..7ec95135e 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -15,9 +15,7 @@ path = "lib.rs" [dependencies] aes = "0.8.1" -# TODO(@littledivy): Move to stable release -# https://github.com/RustCrypto/AEADs/issues/411 -aes-gcm = "=0.10.0-pre" +aes-gcm = "0.10" aes-kw = { version = "0.2.1", features = ["alloc"] } base64 = "0.13.0" block-modes = "0.9.1" @@ -33,12 +31,12 @@ p256 = { version = "0.11.1", features = ["ecdh"] } p384 = "0.11.1" rand = "0.8.4" ring = { version = "0.16.20", features = ["std"] } -rsa = { version = "0.7.0-pre", default-features = false, features = ["std"] } +rsa = { version = "=0.7.0-pre", default-features = false, features = ["std"] } sec1 = "0.3.0" serde = { version = "1.0.129", features = ["derive"] } serde_bytes = "0.11" sha-1 = "0.10.0" sha2 = "0.10.2" spki = "0.6.0" -tokio = { version = "1.17", features = ["full"] } +tokio = { version = "1.21", features = ["full"] } uuid = { version = "1.0.0", features = ["v4"] } diff --git a/ext/crypto/decrypt.rs b/ext/crypto/decrypt.rs index 85d5f5210..c83ff55bd 100644 --- a/ext/crypto/decrypt.rs +++ b/ext/crypto/decrypt.rs @@ -9,7 +9,7 @@ use aes_gcm::aes::Aes128; use aes_gcm::aes::Aes192; use aes_gcm::aes::Aes256; use aes_gcm::AeadInPlace; -use aes_gcm::NewAead; +use aes_gcm::KeyInit; use aes_gcm::Nonce; use ctr::cipher::StreamCipher; use ctr::Ctr128BE; diff --git a/ext/crypto/encrypt.rs b/ext/crypto/encrypt.rs index ffa441c0f..9420acdbd 100644 --- a/ext/crypto/encrypt.rs +++ b/ext/crypto/encrypt.rs @@ -11,7 +11,7 @@ use aes_gcm::aes::Aes128; use aes_gcm::aes::Aes192; use aes_gcm::aes::Aes256; use aes_gcm::AeadInPlace; -use aes_gcm::NewAead; +use aes_gcm::KeyInit; use aes_gcm::Nonce; use ctr::Ctr128BE; use ctr::Ctr32BE; |
