From 8c5a5aa4819304d85592bdc701cb5745f3fb9a44 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Sun, 28 Mar 2021 00:17:27 +0100 Subject: [PATCH] Encrypt master password everywhere --- packages/lesspass-pure/src/components/Avatar.vue | 2 +- .../lesspass-pure/src/components/InputSite.vue | 1 - .../src/components/MasterPassword.vue | 53 ++------- packages/lesspass-pure/src/components/Menu.vue | 2 +- packages/lesspass-pure/src/components/Message.vue | 2 +- packages/lesspass-pure/src/components/Options.vue | 2 +- .../src/components/PasswordProfile.vue | 2 +- packages/lesspass-pure/src/services/encryption.js | 11 ++ packages/lesspass-pure/src/views/Login.vue | 119 ++++++++++---------- packages/lesspass-pure/src/views/MyAccount.vue | 54 ++++++--- .../lesspass-pure/src/views/PasswordGenerator.vue | 9 +- packages/lesspass-pure/src/views/PasswordReset.vue | 21 ++-- .../src/views/PasswordResetConfirm.vue | 82 +++++++------- packages/lesspass-pure/src/views/Passwords.vue | 2 +- packages/lesspass-pure/src/views/Register.vue | 123 ++++++++++++--------- packages/lesspass-pure/src/views/Settings.vue | 18 ++- 16 files changed, 268 insertions(+), 235 deletions(-) create mode 100644 packages/lesspass-pure/src/services/encryption.js diff --git a/packages/lesspass-pure/src/components/Avatar.vue b/packages/lesspass-pure/src/components/Avatar.vue index 61836a7..79b68b4 100644 --- a/packages/lesspass-pure/src/components/Avatar.vue +++ b/packages/lesspass-pure/src/components/Avatar.vue @@ -14,7 +14,7 @@ - diff --git a/packages/lesspass-pure/src/components/Menu.vue b/packages/lesspass-pure/src/components/Menu.vue index 37e1537..dd964aa 100644 --- a/packages/lesspass-pure/src/components/Menu.vue +++ b/packages/lesspass-pure/src/components/Menu.vue @@ -46,7 +46,7 @@ - diff --git a/packages/lesspass-pure/src/views/PasswordResetConfirm.vue b/packages/lesspass-pure/src/views/PasswordResetConfirm.vue index a6d4eab..40993a0 100644 --- a/packages/lesspass-pure/src/views/PasswordResetConfirm.vue +++ b/packages/lesspass-pure/src/views/PasswordResetConfirm.vue @@ -20,9 +20,6 @@ @@ -35,11 +32,11 @@ - diff --git a/packages/lesspass-pure/src/views/Passwords.vue b/packages/lesspass-pure/src/views/Passwords.vue index bc846c6..ac0f385 100644 --- a/packages/lesspass-pure/src/views/Passwords.vue +++ b/packages/lesspass-pure/src/views/Passwords.vue @@ -81,7 +81,7 @@ -