diff --git a/server/Cargo.lock b/server/Cargo.lock index 5e52a99a6..2a58d33b9 100644 --- a/server/Cargo.lock +++ b/server/Cargo.lock @@ -1702,8 +1702,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" dependencies = [ "base64 0.21.4", - "pem", - "ring", + "pem 1.1.1", + "ring 0.16.20", + "serde", + "serde_json", + "simple_asn1", +] + +[[package]] +name = "jsonwebtoken" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e863f95209c79b9b8b001c4b03463385f890a765dbc4e0802cb8d4177e3e410" +dependencies = [ + "base64 0.21.4", + "pem 3.0.2", + "ring 0.17.4", "serde", "serde_json", "simple_asn1", @@ -1732,9 +1746,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8" [[package]] name = "libc" -version = "0.2.147" +version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "libm" @@ -1914,7 +1928,7 @@ dependencies = [ "isahc", "iso8601", "js-sys", - "jsonwebtoken", + "jsonwebtoken 8.3.0", "log", "meilisearch-index-setting-macro", "serde", @@ -2087,7 +2101,7 @@ dependencies = [ "chrono", "image", "imageproc", - "jsonwebtoken", + "jsonwebtoken 9.0.0", "log", "octocrab", "pretty_assertions", @@ -2287,7 +2301,7 @@ dependencies = [ "hyper", "hyper-rustls", "hyper-timeout", - "jsonwebtoken", + "jsonwebtoken 8.3.0", "once_cell", "percent-encoding", "pin-project", @@ -2407,6 +2421,16 @@ dependencies = [ "base64 0.13.1", ] +[[package]] +name = "pem" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3163d2912b7c3b52d651a055f2c7eec9ba5cd22d26ef75b8dd3a59980b185923" +dependencies = [ + "base64 0.21.4", + "serde", +] + [[package]] name = "pem-rfc7468" version = "0.7.0" @@ -2816,11 +2840,25 @@ dependencies = [ "libc", "once_cell", "spin 0.5.2", - "untrusted", + "untrusted 0.7.1", "web-sys", "winapi", ] +[[package]] +name = "ring" +version = "0.17.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fce3045ffa7c981a6ee93f640b538952e155f1ae3a1a02b84547fc7a56b7059a" +dependencies = [ + "cc", + "getrandom 0.2.10", + "libc", + "spin 0.9.8", + "untrusted 0.9.0", + "windows-sys", +] + [[package]] name = "rsa" version = "0.9.2" @@ -2878,7 +2916,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8" dependencies = [ "log", - "ring", + "ring 0.16.20", "rustls-webpki", "sct", ] @@ -2910,8 +2948,8 @@ version = "0.101.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d93931baf2d282fff8d3a532bbfd7653f734643161b87e3e01e59a04439bf0d" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] @@ -2977,8 +3015,8 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] @@ -3991,6 +4029,12 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + [[package]] name = "url" version = "2.4.1" diff --git a/server/feedback/Cargo.toml b/server/feedback/Cargo.toml index e383d4af7..312a3ad86 100644 --- a/server/feedback/Cargo.toml +++ b/server/feedback/Cargo.toml @@ -29,7 +29,7 @@ regex = "1.9.6" octocrab = "0.30.1" # web -jsonwebtoken = "8.3.0" +jsonwebtoken = "9.0.0" chrono= { version = "0.4.31", default-features = false } actix-governor = { version = "0.4.1", features = ["log"] }