From dc9d072472d826018a89d0df5dbe2afbebd8abfe Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Tue, 14 Feb 2023 04:36:19 -0800 Subject: [PATCH] Increased password length limit to support passphrases. --- README.md | 2 +- app/ui/archiveTile.js | 2 +- app/ui/downloadPassword.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7de7726d..b05f668f 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ AWS example using Ubuntu Server `20.04`: [docs/AWS.md](docs/AWS.md) - Web: _this repository_ - Command-line: [`ffsend`](https://github.com/timvisee/ffsend) - Android: _see [Android](#android) section_ -- Thunderbird: [FileLink provider for Send](https://addons.thunderbird.net/en-US/thunderbird/addon/filelink-provider-for-send/) +- Thunderbird: [FileLink provider for Send](https://addons.thunderbird.net/thunderbird/addon/filelink-provider-for-send/) #### Android diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js index eee78a40..7ece0205 100644 --- a/app/ui/archiveTile.js +++ b/app/ui/archiveTile.js @@ -26,7 +26,7 @@ function expiryInfo(translate, archive) { } function password(state) { - const MAX_LENGTH = 32; + const MAX_LENGTH = 4096; return html`
diff --git a/app/ui/downloadPassword.js b/app/ui/downloadPassword.js index 23992f9a..99bbf434 100644 --- a/app/ui/downloadPassword.js +++ b/app/ui/downloadPassword.js @@ -32,7 +32,7 @@ module.exports = function(state, emit) { class="w-full border-l border-t border-b rounded-l-lg rounded-r-none ${invalid ? 'border-red dark:border-red-40' : 'border-grey'} leading-loose px-2 py-1 dark:bg-grey-80" - maxlength="32" + maxlength="4096" autocomplete="off" placeholder="${state.translate('unlockInputPlaceholder')}" oninput="${inputChanged}"