From cce4f5f3b7b32f4b110379c007174aeb626b3186 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Thu, 19 Oct 2023 02:44:21 -0400 Subject: [PATCH] Revert "Bump sha2 from 0.9.5 to 0.10.5" This reverts commit 59f7b6f73255f6a08ab87cfa2183bebb4ec1aff3. --- Cargo.lock | 20 +++++++++---------- crates/lib/cookies/Cargo.toml | 2 +- .../other/twitch_pubsub_subscriber/Cargo.toml | 2 +- crates/service/plugins/users/Cargo.toml | 2 +- crates/service/web/storyteller_web/Cargo.toml | 2 +- .../service/web/websocket_gateway/Cargo.toml | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5135bdfe87..79caee9f16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1439,7 +1439,7 @@ dependencies = [ "errors", "hmac 0.10.1", "jwt", - "sha2 0.10.5", + "sha2 0.9.5", ] [[package]] @@ -3158,7 +3158,7 @@ dependencies = [ "hmac 0.10.1", "serde", "serde_json", - "sha2 0.9.9", + "sha2 0.9.5", ] [[package]] @@ -3362,7 +3362,7 @@ dependencies = [ "des", "digest 0.9.0", "md-5", - "sha2 0.9.9", + "sha2 0.9.5", "tiger", ] @@ -5162,13 +5162,13 @@ dependencies = [ [[package]] name = "sha2" -version = "0.9.9" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" +checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpufeatures 0.2.5", + "cpufeatures 0.1.1", "digest 0.9.0", "opaque-debug", ] @@ -5573,7 +5573,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "sha2 0.10.5", + "sha2 0.9.5", "speculoos", "sqlx", "subprocess", @@ -6634,7 +6634,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "sha2 0.10.5", + "sha2 0.9.5", "sqlx", "time 0.2.26", "tokio 1.25.0", @@ -6869,7 +6869,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "sha2 0.10.5", + "sha2 0.9.5", "sqlx", "sqlx_mysql_helpers", "time 0.2.26", @@ -7204,7 +7204,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "sha2 0.10.5", + "sha2 0.9.5", "sqlx", "time 0.2.26", "tokio 1.25.0", diff --git a/crates/lib/cookies/Cargo.toml b/crates/lib/cookies/Cargo.toml index 80b38759c4..6f9678ec57 100644 --- a/crates/lib/cookies/Cargo.toml +++ b/crates/lib/cookies/Cargo.toml @@ -20,7 +20,7 @@ errors = { path = "../errors" } # External hmac = "0.10.0" # jwt signing jwt = "0.13.0" -sha2 = "0.10.5" # hmac signing +sha2 = "0.9.5" # hmac signing [dev-dependencies] # None yet diff --git a/crates/service/other/twitch_pubsub_subscriber/Cargo.toml b/crates/service/other/twitch_pubsub_subscriber/Cargo.toml index ef72976818..727913f2be 100644 --- a/crates/service/other/twitch_pubsub_subscriber/Cargo.toml +++ b/crates/service/other/twitch_pubsub_subscriber/Cargo.toml @@ -99,7 +99,7 @@ bcrypt = "0.8" # password hashes hmac = "0.10.0" # cookies magic-crypt = "3.1.8" # encrypting sort IDs for the frontend so we don't leak info md-5 = "0.9.1" # gravatar -sha2 = "0.10.5" # file hashes, inference text hashes, etc. +sha2 = "0.9.5" # file hashes, inference text hashes, etc. # Serialization serde = "1.0.125" diff --git a/crates/service/plugins/users/Cargo.toml b/crates/service/plugins/users/Cargo.toml index 2f93a93a0c..8e5d603ea3 100644 --- a/crates/service/plugins/users/Cargo.toml +++ b/crates/service/plugins/users/Cargo.toml @@ -48,7 +48,7 @@ jwt = "0.13.0" bcrypt = "0.8" # password hashes hmac = "0.10.0" # cookies md-5 = "0.9.1" # gravatar -sha2 = "0.10.5" # file hashes, inference text hashes, etc. +sha2 = "0.9.5" # file hashes, inference text hashes, etc. # Serialization serde = "1.0.125" diff --git a/crates/service/web/storyteller_web/Cargo.toml b/crates/service/web/storyteller_web/Cargo.toml index c579484326..7e6edd01ae 100644 --- a/crates/service/web/storyteller_web/Cargo.toml +++ b/crates/service/web/storyteller_web/Cargo.toml @@ -147,7 +147,7 @@ bcrypt = "0.8" # password hashes hmac = "0.10.0" # cookies magic-crypt = "3.1.8" # encrypting sort IDs for the frontend so we don't leak info md-5 = "0.9.1" # gravatar -sha2 = "0.10.5" # file hashes, inference text hashes, etc. +sha2 = "0.9.5" # file hashes, inference text hashes, etc. # Serialization serde = "1.0.125" diff --git a/crates/service/web/websocket_gateway/Cargo.toml b/crates/service/web/websocket_gateway/Cargo.toml index c95c3d5bc5..13db988ecb 100644 --- a/crates/service/web/websocket_gateway/Cargo.toml +++ b/crates/service/web/websocket_gateway/Cargo.toml @@ -100,7 +100,7 @@ bcrypt = "0.8" # password hashes hmac = "0.10.0" # cookies magic-crypt = "3.1.8" # encrypting sort IDs for the frontend so we don't leak info md-5 = "0.9.1" # gravatar -sha2 = "0.10.5" # file hashes, inference text hashes, etc. +sha2 = "0.9.5" # file hashes, inference text hashes, etc. # Serialization serde = "1.0.125"