diff --git a/plugins/CryptMessage/CryptMessagePlugin.py b/plugins/CryptMessage/CryptMessagePlugin.py index 5abb95ed..7198ed08 100644 --- a/plugins/CryptMessage/CryptMessagePlugin.py +++ b/plugins/CryptMessage/CryptMessagePlugin.py @@ -117,12 +117,12 @@ class UiWebsocketPlugin(object): if privatekey is None: # Sign using user's privatekey privatekey = self.user.getAuthPrivatekey(self.site.address) - self.response(to, CryptBitcoin.sign(data.encode("utf8"), privatekey)) + self.response(to, CryptBitcoin.sign(data, privatekey)) # Verify data using ECDSA (address is either a address or array of addresses) # Return: bool def actionEcdsaVerify(self, to, data, address, signature): - self.response(to, CryptBitcoin.verify(data.encode("utf8"), address, signature)) + self.response(to, CryptBitcoin.verify(data, address, signature)) @PluginManager.registerTo("User") diff --git a/src/Config.py b/src/Config.py index bb29111d..5062d8be 100644 --- a/src/Config.py +++ b/src/Config.py @@ -13,7 +13,7 @@ class Config(object): def __init__(self, argv): self.version = "0.7.0" - self.rev = 4073 + self.rev = 4074 self.argv = argv self.action = None self.pending_changes = {}