diff --git a/Cargo.lock b/Cargo.lock index 84fba62..01647fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1124,11 +1124,11 @@ dependencies = [ "bytes", "chrono", "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", @@ -1530,13 +1530,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.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", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -1673,7 +1687,7 @@ dependencies = [ "isahc", "iso8601", "js-sys", - "jsonwebtoken", + "jsonwebtoken 8.3.0", "log", "meilisearch-index-setting-macro", "serde", @@ -1973,11 +1987,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", @@ -2183,6 +2197,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" @@ -2751,7 +2775,7 @@ dependencies = [ "http", "hyper", "hyper-tls", - "jsonwebtoken", + "jsonwebtoken 9.0.0", "meilisearch-sdk", "mockall", "oauth2", @@ -2763,7 +2787,7 @@ dependencies = [ "regex", "reqwest", "rfd-model", - "ring 0.17.3", + "ring 0.17.4", "rsa", "schemars", "serde", @@ -2795,7 +2819,7 @@ dependencies = [ "config", "dirs 5.0.1", "itertools 0.11.0", - "jsonwebtoken", + "jsonwebtoken 9.0.0", "oauth2", "progenitor-client", "reqwest", @@ -2918,9 +2942,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.3" +version = "0.17.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9babe80d5c16becf6594aa32ad2be8fe08498e7ae60b77de8df700e67f191d7e" +checksum = "fce3045ffa7c981a6ee93f640b538952e155f1ae3a1a02b84547fc7a56b7059a" dependencies = [ "cc", "getrandom", diff --git a/Cargo.toml b/Cargo.toml index 06e0977..476400f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ http = "0.2.9" hyper = "0.14.27" hyper-tls = "0.5.0" itertools = "0.11.0" -jsonwebtoken = "8.3.0" +jsonwebtoken = "9.0.0" meilisearch-sdk = "0.24.2" md-5 = "0.10.6" mime_guess = "2.0.4"