Update dependencies (#315)

* Update rsa dependency to 0.5

* Update pbkdf dependency to 0.9

* Update x509-parser dependency to 0.11

* Update crypto-bigint subdepdendency to 0.2.6
This commit is contained in:
Benno Rice
2021-09-11 03:44:59 +10:00
committed by GitHub
parent 3905104b52
commit 54ce90d51d
5 changed files with 48 additions and 54 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ use crate::{
};
use elliptic_curve::sec1::EncodedPoint as EcPublicKey;
use log::{debug, error, warn};
use rsa::{BigUint, RSAPublicKey};
use rsa::{BigUint, RsaPublicKey};
use std::{convert::TryFrom, str::FromStr};
#[cfg(feature = "untested")]
@@ -624,7 +624,7 @@ pub fn generate(
Ok(PublicKeyInfo::Rsa {
algorithm,
pubkey: RSAPublicKey::new(
pubkey: RsaPublicKey::new(
BigUint::from_bytes_be(&modulus),
BigUint::from_bytes_be(&exp),
)