From ac128bb122b51ba0b701e60af698ada757fb403e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 8 Sep 2021 13:01:59 +0100 Subject: [PATCH] Only get instance actor key in secure mode --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index d1480641e..d3ba03443 100644 --- a/daemon.py +++ b/daemon.py @@ -16737,7 +16737,8 @@ def runDaemon(lowBandwidth: bool, # signing key used for authorized fetch # this is the instance actor private key - httpd.signingPrivateKeyPem = getInstanceActorKey(baseDir, domain) + if secureMode: + httpd.signingPrivateKeyPem = getInstanceActorKey(baseDir, domain) if not unitTest: print('Creating inbox queue watchdog')