From 09cf289b753b3733278a2e624256f13edd37524f Mon Sep 17 00:00:00 2001 From: Riley Apeldoorn Date: Tue, 30 Apr 2024 00:09:53 +0200 Subject: [PATCH] [wip] remove space from signature header formatting --- lib/fetch/src/lib.rs | 4 +++- lib/fetch/src/signatures.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/fetch/src/lib.rs b/lib/fetch/src/lib.rs index 9b5c375..406e766 100644 --- a/lib/fetch/src/lib.rs +++ b/lib/fetch/src/lib.rs @@ -97,6 +97,7 @@ pub async fn resolve(key: &SigningKey, target: &str) -> reqwest::Result { println!("[resolver]: constructed request {req:#?}"); // hs2019 works with masto + println!("[resolver]: using modern config"); let sig = key.sign(Options::MODERN, &req).expect("signing error"); println!("[resolver]: constructed signature {sig:#?}"); @@ -123,7 +124,8 @@ pub async fn forward(key: &SigningKey, target: &str) -> reqwest::Result() }