tChange labelsync to use https - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4bed294ddd8fd4e95ebc19ca56731ed536ed8826 DIR parent 7316f613d62b8a0f618f1a56b136bad5fac1fa25 HTML Author: Maran <maran.hidskes@gmail.com> Date: Tue, 28 Apr 2015 12:54:33 +0200 Change labelsync to use https Self signed for now until I get a wildcard Diffstat: M plugins/labels.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/plugins/labels.py b/plugins/labels.py t@@ -25,7 +25,7 @@ from electrum_gui.qt.util import ThreadedButton, Buttons, CancelButton, OkButton class Plugin(BasePlugin): - target_host = 'sync.bysh.me:8080' + target_host = 'sync.bysh.me:9090' encode_password = None def fullname(self): t@@ -140,8 +140,8 @@ class Plugin(BasePlugin): QMessageBox.information(None, _("Labels synchronised"), _("Your labels have been synchronised.")) def do_request(self, method, url = "/labels", is_batch=False, data=None): - url = 'http://' + self.target_host + url - kwargs = {'headers': {}} + url = 'https://' + self.target_host + url + kwargs = {'headers': {}, 'verify': False} if method == 'GET' and data: kwargs['params'] = data elif method == 'POST' and data: