From 223c04b1a54b55096c9a57c04e33184c142d42c8 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 15 Sep 2019 11:44:27 +0100 Subject: [PATCH] why would we be getting the *filename* from security.private_key()? --- modules/fediverse/ap_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fediverse/ap_server.py b/modules/fediverse/ap_server.py index 7d579fe2..5ae93a50 100644 --- a/modules/fediverse/ap_server.py +++ b/modules/fediverse/ap_server.py @@ -171,7 +171,7 @@ class Server(object): event["response"].code = 404 def _private_key(self, id): - filename = security.private_key(self.bot.config["tls-certificate"]) + filename = self.bot.config["tls-certificate"] return ap_security.PrivateKey(filename, id) def ap_inbox(self, event):