fix: use hs2019 instead of rsa-sha256

im not sure why but apparently there's some bug somewhere? maybe some
instances are picky and want the new thing? should still be fine using
sha256 as signing tho
This commit is contained in:
əlemi 2024-04-23 05:46:48 +02:00
parent 1731bcb1c6
commit 70920985cf
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -51,7 +51,8 @@ impl Fetcher for Context {
let mut signer = HttpSignature::new( let mut signer = HttpSignature::new(
format!("{from}#main-key"), // TODO don't hardcode #main-key format!("{from}#main-key"), // TODO don't hardcode #main-key
"rsa-sha256".to_string(), "hs2019".to_string(),
//"rsa-sha256".to_string(),
&headers, &headers,
); );