We don't support old style sign verification anymore

This commit is contained in:
shortcutme 2019-03-16 02:36:45 +01:00
parent bc93796727
commit 65d19d350c
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 4 deletions

View File

@ -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)))