Browse Source
revealer: warning re version 0 vulnerability
3.3.3.1
SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
8 additions and
0 deletions
-
electrum/plugins/revealer/qt.py
|
@ -199,7 +199,15 @@ class Plugin(RevealerPlugin): |
|
|
self.txt = self.text.text() |
|
|
self.txt = self.text.text() |
|
|
self.seed_img(is_seed=False) |
|
|
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): |
|
|
def cypherseed_dialog(self, window): |
|
|
|
|
|
self.warn_old_revealer() |
|
|
|
|
|
|
|
|
d = WindowModalDialog(window, "Encryption Dialog") |
|
|
d = WindowModalDialog(window, "Encryption Dialog") |
|
|
d.setMinimumWidth(500) |
|
|
d.setMinimumWidth(500) |
|
|