From a3484cc9e3feee013056ac991364ffa727976b43 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 9 Aug 2021 02:04:39 +0100 Subject: [PATCH] server: get token, wip hmac work Signed-off-by: Ian Jackson --- Cargo.lock | 7 +++++++ Cargo.toml | 1 + 2 files changed, 8 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index ee063c2..9b65d3e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -434,6 +434,7 @@ dependencies = [ "regex", "sha2", "structopt", + "subtle", "thiserror", "tokio", "void", @@ -1057,6 +1058,12 @@ dependencies = [ "syn", ] +[[package]] +name = "subtle" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" + [[package]] name = "syn" version = "1.0.73" diff --git a/Cargo.toml b/Cargo.toml index fb745c8..836d926 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,6 +43,7 @@ log = "0.4" memchr = "2" sha2 = "0.9" structopt = "0.3" +subtle = "2" tokio = { version = "1", features = ["full"] } thiserror = "1" void = "1" -- 2.30.2