From d68f5004552af65d51ba0874003ffc3a08d44af6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 20 Sep 2021 14:20:30 +0100 Subject: [PATCH] Signing key warnings --- daemon.py | 2 ++ posts.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/daemon.py b/daemon.py index c9dd9753f..013f4e8c2 100644 --- a/daemon.py +++ b/daemon.py @@ -2745,6 +2745,8 @@ class PubServer(BaseHTTPRequestHandler): else: print('Sending follow request from ' + followerNickname + ' to ' + followingActor) + if not self.server.signingPrivateKeyPem: + print('Sending follow request with no signing key') sendFollowRequest(self.server.session, baseDir, followerNickname, domain, port, diff --git a/posts.py b/posts.py index 7b52f6aef..f8833dec4 100644 --- a/posts.py +++ b/posts.py @@ -318,6 +318,8 @@ def _getPersonBoxActor(session, baseDir: str, actor: str, if personJson: return personJson print('Unable to get actor for ' + actor) + if not signingPrivateKeyPem: + print('No signing key provided when getting actor') return None