summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorMoritz Bitsch <moritz@h6t.eu>2021-10-02 00:37:39 +0200
committerMoritz Bitsch <moritz@h6t.eu>2021-11-12 12:43:15 +0000
commit9fccbb014a3297961fd169ce12363564e56afbc3 (patch)
treee7efc52fbf6e4f44fc402257402162fc5b0559c0 /Cargo.lock
parent109892b4b754e1666d4f00d9aec6356b46093668 (diff)
downloadconduit-9fccbb014a3297961fd169ce12363564e56afbc3.zip
Implement TURN server authentication with hmac
This is a prefered method to allow limited access to the TURN server
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock35
1 files changed, 35 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 293bcff..6829389 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -245,6 +245,7 @@ dependencies = [
"crossbeam",
"directories",
"heed",
+ "hmac",
"http",
"image",
"jsonwebtoken",
@@ -266,6 +267,7 @@ dependencies = [
"serde",
"serde_json",
"serde_yaml",
+ "sha-1",
"sled",
"thiserror",
"thread_local",
@@ -429,6 +431,16 @@ dependencies = [
]
[[package]]
+name = "crypto-mac"
+version = "0.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714"
+dependencies = [
+ "generic-array",
+ "subtle",
+]
+
+[[package]]
name = "curve25519-dalek"
version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -898,6 +910,16 @@ dependencies = [
]
[[package]]
+name = "hmac"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b"
+dependencies = [
+ "crypto-mac",
+ "digest",
+]
+
+[[package]]
name = "hostname"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2423,6 +2445,19 @@ dependencies = [
]
[[package]]
+name = "sha-1"
+version = "0.9.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6"
+dependencies = [
+ "block-buffer",
+ "cfg-if 1.0.0",
+ "cpufeatures",
+ "digest",
+ "opaque-debug",
+]
+
+[[package]]
name = "sha1"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"