From 031eba79365f58d796080aafd066d3e997618fcb Mon Sep 17 00:00:00 2001 From: Andrew Pietila Date: Wed, 29 Mar 2023 08:46:46 -0500 Subject: [PATCH] Ensure we're only sending the public key with the actor. --- routes/actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/actor.js b/routes/actor.js index cb54ee3..941adbb 100644 --- a/routes/actor.js +++ b/routes/actor.js @@ -25,7 +25,7 @@ module.exports = { 'security:owner': { id: `https://${req.hostname}/actor` }, - 'security:publicKeyPem': getKeyPair(`https://${req.hostname}/actor`) + 'security:publicKeyPem': getKeyPair(`https://${req.hostname}/actor`)["publicKey"] }, 'endpoints': { sharedInbox: `https://${req.hostname}/inbox`