Bump RustCrypto crates (#748)

This commit is contained in:
Paolo Barbolini
2022-04-02 09:55:36 +02:00
committed by GitHub
parent c24213c850
commit 6e35b9b30d
2 changed files with 3 additions and 3 deletions

View File

@@ -63,8 +63,8 @@ tokio1_native_tls_crate = { package = "tokio-native-tls", version = "0.3", optio
tokio1_rustls = { package = "tokio-rustls", version = "0.23", optional = true }
## dkim
sha2 = { version = "0.9.8", optional = true }
rsa = { version = "0.5.0", optional = true }
sha2 = { version = "0.10", optional = true }
rsa = { version = "0.6.0-pre", optional = true }
ed25519-dalek = { version = "1.0.1", optional = true }
[dev-dependencies]

View File

@@ -9,7 +9,7 @@ use std::{
use ed25519_dalek::Signer;
use once_cell::sync::Lazy;
use regex::{bytes::Regex as BRegex, Regex};
use rsa::{pkcs1::FromRsaPrivateKey, Hash, PaddingScheme, RsaPrivateKey};
use rsa::{pkcs1::DecodeRsaPrivateKey, Hash, PaddingScheme, RsaPrivateKey};
use sha2::{Digest, Sha256};
use crate::message::{