From a0df9f8cc4d023cc3a8a52d57354c6268e03b0fc Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 3 May 2024 04:11:10 +0200 Subject: [PATCH] fix: use rsa-sha256 for http signatures peertube (and thus iceshrimp because it uses peertube's lib) seems to not support hs2019 --- src/server/fetcher.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/fetcher.rs b/src/server/fetcher.rs index e9b2a08f..07cad64b 100644 --- a/src/server/fetcher.rs +++ b/src/server/fetcher.rs @@ -43,8 +43,8 @@ pub trait Fetcher { let mut signer = HttpSignature::new( format!("{from}#main-key"), // TODO don't hardcode #main-key - "hs2019".to_string(), - //"rsa-sha256".to_string(), + //"hs2019".to_string(), // pixelfeed/iceshrimp made me go back + "rsa-sha256".to_string(), &headers, );