From 2bf3b156a79dacd5de9a26e6e3798edeac2b29fb Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 25 Aug 2021 22:47:35 -0400 Subject: [PATCH] Sign Date header --- lib/clacks/activitypub/federator.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/clacks/activitypub/federator.ex b/lib/clacks/activitypub/federator.ex index 93016dc..a8a2837 100644 --- a/lib/clacks/activitypub/federator.ex +++ b/lib/clacks/activitypub/federator.ex @@ -62,7 +62,8 @@ defmodule Clacks.ActivityPub.Federator do "(request-target)": "post #{inbox_path}", host: inbox_host, "content-length": byte_size(body), - digest: digest + digest: digest, + date: date } {private_key, key_id} = private_key_for_actor(actor_id)