From a418a9d23ba92aae9b849a7abbb566ec80f8b24c Mon Sep 17 00:00:00 2001 From: sachaaaaa Date: Mon, 22 Oct 2018 16:43:15 +1100 Subject: [PATCH] allow registering using a mnemonic word list (seed used as privKey for now) --- Gruntfile.js | 1 + background.html | 9 + js/views/standalone_registration_view.js | 15 +- libloki/mnemonic.js | 1174 ++++++++++++++++++++++ libtextsecure/account_manager.js | 17 +- preload.js | 2 + 6 files changed, 1214 insertions(+), 4 deletions(-) create mode 100644 libloki/mnemonic.js diff --git a/Gruntfile.js b/Gruntfile.js index b05512dac..c246a775c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -89,6 +89,7 @@ module.exports = grunt => { libloki: { src: [ 'libloki/libloki-protocol.js', + 'libloki/mnemonic.js', ], dest: 'js/libloki.js', }, diff --git a/background.html b/background.html index 51240f2ea..1604620bd 100644 --- a/background.html +++ b/background.html @@ -568,6 +568,15 @@
Create your Loki Messenger Account
+ + + + +
+
+