From e3e659b70160526e334d81105aba589b6362abb4 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Mon, 1 Aug 2022 19:41:38 +0200 Subject: [PATCH] Switch back rsa crate to a published pre-version --- Cargo.lock | 5 +++-- crates/config/Cargo.toml | 2 +- crates/handlers/Cargo.toml | 2 +- crates/jose/Cargo.toml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 83f222d0..024da2f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3637,8 +3637,9 @@ dependencies = [ [[package]] name = "rsa" -version = "0.6.1" -source = "git+https://github.com/sandhose/RSA.git?branch=bump-pkcs#b9fe2248366f7c11c0c5a0ed2604e850448ee88b" +version = "0.7.0-pre" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6168b9a0f38e487db90dc109ad6d8f37fc5590183b7bfe8d8687e0b86116d53f" dependencies = [ "byteorder", "digest 0.10.3", diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index 40a4e90b..b2e0111a 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -25,7 +25,7 @@ sqlx = { version = "0.6.0", features = ["runtime-tokio-rustls", "postgres"] } lettre = { version = "0.10.1", default-features = false, features = ["serde", "builder"] } rand = "0.8.5" -rsa = { git = "https://github.com/sandhose/RSA.git", branch = "bump-pkcs" } +rsa = "0.7.0-pre" p256 = { version = "0.11.1", features = ["ecdsa", "pem", "pkcs8"] } pkcs8 = { version = "0.9.0", features = ["pem"] } chacha20poly1305 = { version = "0.10.0", features = ["std"] } diff --git a/crates/handlers/Cargo.toml b/crates/handlers/Cargo.toml index 93d3d3da..3fcd4983 100644 --- a/crates/handlers/Cargo.toml +++ b/crates/handlers/Cargo.toml @@ -40,7 +40,7 @@ serde_urlencoded = "0.7.1" argon2 = { version = "0.4.1", features = ["password-hash"] } # Crypto, hashing and signing stuff -rsa = { git = "https://github.com/sandhose/RSA.git", branch = "bump-pkcs" } +rsa = "0.7.0-pre" pkcs8 = { version = "0.9.0", features = ["pem"] } elliptic-curve = { version = "0.12.2", features = ["pem"] } sha2 = "0.10.2" diff --git a/crates/jose/Cargo.toml b/crates/jose/Cargo.toml index 7dca3dae..a7e079f0 100644 --- a/crates/jose/Cargo.toml +++ b/crates/jose/Cargo.toml @@ -21,7 +21,7 @@ p256 = { version = "0.11.1", features = ["ecdsa", "pem", "pkcs8"] } pkcs1 = { version = "0.4.0", features = ["pem", "pkcs8"] } pkcs8 = { version = "0.9.0", features = ["pem", "std"] } rand = "0.8.5" -rsa = { git = "https://github.com/sandhose/RSA.git", branch = "bump-pkcs" } +rsa = "0.7.0-pre" schemars = "0.8.10" sec1 = "0.3.0" serde = { version = "1.0.141", features = ["derive"] }