From dd4328ae523bb375dd871e85d1bacd9311e87a89 Mon Sep 17 00:00:00 2001
From: Andrew Godwin
Date: Sat, 12 Nov 2022 15:10:15 -0700
Subject: Add JSON-LD signatures and tests for sig stuff

---
 activities/models/fan_out.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'activities')

diff --git a/activities/models/fan_out.py b/activities/models/fan_out.py
index 79b7409..96e8df7 100644
--- a/activities/models/fan_out.py
+++ b/activities/models/fan_out.py
@@ -32,7 +32,8 @@ class FanOutStates(StateGraph):
             await HttpSignature.signed_request(
                 uri=fan_out.identity.inbox_uri,
                 body=canonicalise(post.to_create_ap()),
-                identity=post.author,
+                private_key=post.author.public_key,
+                key_id=post.author.public_key_id,
             )
         return cls.sent
 
-- 
cgit v1.2.3