Page MenuHomePhabricator

D12607.diff
No OneTemporary

D12607.diff

diff --git a/Cargo.lock b/Cargo.lock
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3042,6 +3042,21 @@
"wasm-bindgen",
]
+[[package]]
+name = "jsonwebtoken"
+version = "9.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9ae10193d25051e74945f1ea2d0b42e03cc3b890f7e4cc5faa44997d808193f"
+dependencies = [
+ "base64 0.21.7",
+ "js-sys",
+ "pem",
+ "ring 0.17.8",
+ "serde",
+ "serde_json",
+ "simple_asn1",
+]
+
[[package]]
name = "k256"
version = "0.9.5"
@@ -3619,6 +3634,16 @@
"hmac 0.12.1",
]
+[[package]]
+name = "pem"
+version = "3.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae"
+dependencies = [
+ "base64 0.22.1",
+ "serde",
+]
+
[[package]]
name = "pem-rfc7468"
version = "0.7.0"
@@ -4645,6 +4670,18 @@
"rand_core 0.6.4",
]
+[[package]]
+name = "simple_asn1"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085"
+dependencies = [
+ "num-bigint",
+ "num-traits",
+ "thiserror",
+ "time",
+]
+
[[package]]
name = "siwe"
version = "0.3.0"
@@ -5365,6 +5402,7 @@
"grpc_clients",
"hyper",
"hyper-tungstenite",
+ "jsonwebtoken",
"lapin",
"once_cell",
"prost",
diff --git a/services/tunnelbroker/Cargo.toml b/services/tunnelbroker/Cargo.toml
--- a/services/tunnelbroker/Cargo.toml
+++ b/services/tunnelbroker/Cargo.toml
@@ -30,6 +30,7 @@
lapin = { workspace = true }
chrono = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
+jsonwebtoken = "9.3.0"
[build-dependencies]
tonic-build = "0.8"

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 9:03 PM (20 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2572432
Default Alt Text
D12607.diff (1 KB)

Event Timeline