Browse Source

revealer: warning re version 0 vulnerability

3.3.3.1
SomberNight 6 years ago
parent
commit
f0868f5a51
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 8
      electrum/plugins/revealer/qt.py

8
electrum/plugins/revealer/qt.py

@ -199,7 +199,15 @@ class Plugin(RevealerPlugin):
self.txt = self.text.text()
self.seed_img(is_seed=False)
def warn_old_revealer(self):
if self.versioned_seed.version == '0':
self.d.show_warning(''.join(
["<b>", _("Warning"), ": </b>",
_("Revealers starting with 0 are not secure due to a vulnerability."), ' ',
_("Proceed at your own risk.")]))
def cypherseed_dialog(self, window):
self.warn_old_revealer()
d = WindowModalDialog(window, "Encryption Dialog")
d.setMinimumWidth(500)

Loading…
Cancel
Save