From 65d19d350c9851bdffdc5353c806c4e53821c75a Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 16 Mar 2019 02:36:45 +0100 Subject: [PATCH] We don't support old style sign verification anymore --- src/Content/ContentManager.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Content/ContentManager.py b/src/Content/ContentManager.py index d92fa8fa..c32062e7 100644 --- a/src/Content/ContentManager.py +++ b/src/Content/ContentManager.py @@ -960,10 +960,7 @@ class ContentManager(object): else: return self.verifyContent(inner_path, new_content) else: # Old style signing - if CryptBitcoin.verify(sign_content, self.site.address, sign): - return self.verifyContent(inner_path, new_content) - else: - raise VerifyError("Invalid old-style sign") + raise VerifyError("Invalid old-style sign") except Exception as err: self.log.warning("%s: verify sign error: %s" % (inner_path, Debug.formatException(err)))