aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-10-05 15:59:35 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-10-05 16:27:28 -0700
commit96447d437fcbc8c6e53a49c9d4599d6c92e63eee (patch)
tree1f67bac94a8ad1965f5d215cde0ba09f0943a29c
parent0b69a766d4ecd92608e62b5e6bfed9d7e4797bf0 (diff)
downloadfatcat-96447d437fcbc8c6e53a49c9d4599d6c92e63eee.tar.gz
fatcat-96447d437fcbc8c6e53a49c9d4599d6c92e63eee.zip
rust: switch to patched version of macaroon v0.2.0, for legacy HMACs
-rw-r--r--rust/Cargo.lock9
-rw-r--r--rust/Cargo.toml2
2 files changed, 5 insertions, 6 deletions
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 4e953215..56606fc6 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -145,9 +145,9 @@ dependencies = [
[[package]]
name = "base64"
-version = "0.12.3"
+version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
+checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
[[package]]
name = "bitflags"
@@ -1206,10 +1206,9 @@ dependencies = [
[[package]]
name = "macaroon"
version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b47698e93166a6eade8b34dd6e21c33bae4ceae6283f0695462f28c71d280a70"
+source = "git+https://github.com/bnewbold/macaroon?branch=bnewbold-legacy-hmac-fixed-branch#d0edb6c7e5f5893660d2db3a5cfce26c6e57f6a8"
dependencies = [
- "base64 0.12.3",
+ "base64 0.13.0",
"log 0.4.17",
"serde",
"serde_json",
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 107663f7..37aee6b4 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -23,7 +23,7 @@ data-encoding = "2.1"
regex = "1"
lazy_static = "1"
sha1 = { version = "0.6", features = ["std"] }
-macaroon = "0.2"
+macaroon = { git = "https://github.com/bnewbold/macaroon", branch = "bnewbold-legacy-hmac-fixed-branch" }
rand = "*"
failure = "*"