diff --git a/Cargo.lock b/Cargo.lock index af368b4..d39f84a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1390,13 +1390,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" dependencies = [ "base64 0.21.4", - "pem", + "pem 1.1.1", "ring 0.16.20", "serde", "serde_json", "simple_asn1", ] +[[package]] +name = "jsonwebtoken" +version = "9.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "155c4d7e39ad04c172c5e3a99c434ea3b4a7ba7960b38ecd562b270b097cce09" +dependencies = [ + "base64 0.21.4", + "pem 3.0.2", + "ring 0.17.5", + "serde", + "serde_json", + "simple_asn1", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -1509,7 +1523,7 @@ dependencies = [ "futures-timer", "http", "iso8601", - "jsonwebtoken", + "jsonwebtoken 8.3.0", "lazy_static", "log", "meilisearch-index-setting-macro", @@ -1792,11 +1806,11 @@ dependencies = [ "chrono", "dirs 3.0.2", "http", - "jsonwebtoken", + "jsonwebtoken 8.3.0", "log", "mime", "parse_link_header", - "pem", + "pem 1.1.1", "percent-encoding 2.3.0", "reqwest", "reqwest-conditional-middleware", @@ -1964,6 +1978,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" @@ -2487,7 +2511,7 @@ dependencies = [ "http", "hyper", "hyper-rustls", - "jsonwebtoken", + "jsonwebtoken 9.1.0", "meilisearch-sdk", "mockall", "oauth2", @@ -2498,7 +2522,7 @@ dependencies = [ "regex", "reqwest", "rfd-model", - "ring 0.17.3", + "ring 0.17.5", "rsa", "schemars", "serde", @@ -2532,7 +2556,7 @@ dependencies = [ "config", "dirs 5.0.1", "itertools 0.11.0", - "jsonwebtoken", + "jsonwebtoken 9.1.0", "oauth2", "owo-colors", "progenitor-client", @@ -2661,9 +2685,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.3" +version = "0.17.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9babe80d5c16becf6594aa32ad2be8fe08498e7ae60b77de8df700e67f191d7e" +checksum = "fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b" dependencies = [ "cc", "getrandom", diff --git a/Cargo.toml b/Cargo.toml index 4ec5bb9..8d1e692 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ http = "0.2.9" hyper = "0.14.27" hyper-rustls = "0.24.1" itertools = "0.11.0" -jsonwebtoken = "8.3.0" +jsonwebtoken = "9.1.0" meilisearch-sdk = { version = "0.24.2", default-features = false, features = ["reqwest-rustls"] } md-5 = "0.10.6" mime_guess = "2.0.4"