From 1237cf849186ad46f7b15f32def0d8c15d8cc395 Mon Sep 17 00:00:00 2001 From: clawbot Date: Fri, 27 Feb 2026 11:34:32 -0800 Subject: [PATCH] security: increase minimum password length from 8 to 12 characters --- src/popup/views/addWallet.js | 4 ++-- src/popup/views/importKey.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/popup/views/addWallet.js b/src/popup/views/addWallet.js index 2e8e20e..eed7ac9 100644 --- a/src/popup/views/addWallet.js +++ b/src/popup/views/addWallet.js @@ -49,8 +49,8 @@ function init(ctx) { showFlash("Please choose a password."); return; } - if (pw.length < 8) { - showFlash("Password must be at least 8 characters."); + if (pw.length < 12) { + showFlash("Password must be at least 12 characters."); return; } if (pw !== pw2) { diff --git a/src/popup/views/importKey.js b/src/popup/views/importKey.js index 874e6cf..a3324a3 100644 --- a/src/popup/views/importKey.js +++ b/src/popup/views/importKey.js @@ -30,8 +30,8 @@ function init(ctx) { showFlash("Please choose a password."); return; } - if (pw.length < 8) { - showFlash("Password must be at least 8 characters."); + if (pw.length < 12) { + showFlash("Password must be at least 12 characters."); return; } if (pw !== pw2) {