fix: resolve interoperability issues with Misskey, et al.

Full credit to @jfietkau for the hint that led to this fix.
This commit is contained in:
Julian Lam
2024-03-21 16:23:43 -04:00
parent da2a1e207a
commit 003c64690f

View File

@@ -143,7 +143,7 @@ ActivityPub.sign = async ({ key, keyId }, url, payload) => {
return {
date,
digest,
signature: `keyId="${keyId}",headers="${headers}",signature="${signature}"`,
signature: `keyId="${keyId}",headers="${headers}",signature="${signature}",algorithm="rsa-sha256"`,
};
};