From bee4526cf9148f0ee2b2fa795549b88a3ff113de Mon Sep 17 00:00:00 2001 From: haurog <36535774+haurog@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:01:06 +0200 Subject: [PATCH] Update jsonwebtoken version to enable RISC-V builds (#6298) * Upgrade jsonwebtoken version to enable RISC-V builds --- Cargo.lock | 20 ++++++-------------- beacon_node/execution_layer/Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d62da2754bb..2b300c541a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4334,13 +4334,14 @@ dependencies = [ [[package]] name = "jsonwebtoken" -version = "8.3.0" +version = "9.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" +checksum = "b9ae10193d25051e74945f1ea2d0b42e03cc3b890f7e4cc5faa44997d808193f" dependencies = [ "base64 0.21.7", - "pem 1.1.1", - "ring 0.16.20", + "js-sys", + "pem", + "ring 0.17.8", "serde", "serde_json", "simple_asn1", @@ -6121,15 +6122,6 @@ dependencies = [ "sha2 0.10.8", ] -[[package]] -name = "pem" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" -dependencies = [ - "base64 0.13.1", -] - [[package]] name = "pem" version = "3.0.4" @@ -6785,7 +6777,7 @@ version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52c4f3084aa3bc7dfbba4eff4fab2a54db4324965d8872ab933565e6fbd83bc6" dependencies = [ - "pem 3.0.4", + "pem", "ring 0.16.20", "time", "yasna", diff --git a/beacon_node/execution_layer/Cargo.toml b/beacon_node/execution_layer/Cargo.toml index 4cc373f295d..e93d1480d80 100644 --- a/beacon_node/execution_layer/Cargo.toml +++ b/beacon_node/execution_layer/Cargo.toml @@ -17,7 +17,7 @@ ethereum_serde_utils = { workspace = true } serde_json = { workspace = true } serde = { workspace = true } warp = { workspace = true } -jsonwebtoken = "8" +jsonwebtoken = "9" bytes = { workspace = true } task_executor = { workspace = true } hex = { workspace = true }