From 96447d437fcbc8c6e53a49c9d4599d6c92e63eee Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 5 Oct 2022 15:59:35 -0700 Subject: rust: switch to patched version of macaroon v0.2.0, for legacy HMACs --- rust/Cargo.lock | 9 ++++----- rust/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'rust') 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 = "*" -- cgit v1.2.3