mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
revealer: warning re version 0 vulnerability
This commit is contained in:
parent
e7e9f8e7f2
commit
f0868f5a51
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue