From 4811f255ff8ec4cba54f4307dd5620b6af523961 Mon Sep 17 00:00:00 2001 From: titanism <101466223+titanism@users.noreply.github.com> Date: Sun, 10 Dec 2023 13:07:44 -0600 Subject: [PATCH] fix: prevent apostrophe and quotes from being used until is resolved --- config/phrases.js | 2 ++ helpers/create-password.js | 11 +++++++++++ helpers/setup-pragma.js | 2 ++ locales/ar.json | 3 ++- locales/cs.json | 3 ++- locales/da.json | 3 ++- locales/de.json | 3 ++- locales/es.json | 3 ++- locales/fi.json | 3 ++- locales/fr.json | 3 ++- locales/he.json | 10 +++++++++- locales/hu.json | 3 ++- locales/id.json | 3 ++- locales/it.json | 3 ++- locales/ja.json | 3 ++- locales/ko.json | 3 ++- locales/nl.json | 3 ++- locales/no.json | 3 ++- locales/pl.json | 3 ++- locales/pt.json | 3 ++- locales/ru.json | 3 ++- locales/sv.json | 3 ++- locales/th.json | 3 ++- locales/tr.json | 3 ++- locales/uk.json | 3 ++- locales/vi.json | 3 ++- locales/zh.json | 3 ++- 27 files changed, 70 insertions(+), 24 deletions(-) diff --git a/config/phrases.js b/config/phrases.js index 967e0290b0..9366d5ff2a 100644 --- a/config/phrases.js +++ b/config/phrases.js @@ -164,6 +164,8 @@ module.exports = { 'You cannot have more than %d catch-all passwords generated at once', INVALID_PASSWORD_CONFIRM: 'Password confirmation did not match new password.', INVALID_PASSWORD_STRENGTH: 'Password strength was not strong enough.', + INVALID_PASSWORD_CHARACTERS: + 'Quotes and apostrophes cannot be used as password characters.', INVALID_PORT: 'Invalid port number.', INVALID_PROVIDER: 'We do not support this authentication provider.', INVALID_RECOVERY_KEY: 'Invalid recovery key.', diff --git a/helpers/create-password.js b/helpers/create-password.js index d2f532f7e5..8e7713e192 100644 --- a/helpers/create-password.js +++ b/helpers/create-password.js @@ -27,6 +27,17 @@ async function createPassword(existingPassword, userInputs = []) { throw err; } + // + // do not allow sqlite restricted characters (easier than having to escape everywhere) + // (e.g. `"` and `'`) + // + // + if (existingPassword.includes("'") || existingPassword.includes('"')) { + const err = Boom.badRequest(phrases.INVALID_PASSWORD_CHARACTERS); + err.no_translate = true; + throw err; + } + const { score, feedback } = zxcvbn(existingPassword, userInputs); if (score < 3) { diff --git a/helpers/setup-pragma.js b/helpers/setup-pragma.js index dd6974051c..067784599c 100644 --- a/helpers/setup-pragma.js +++ b/helpers/setup-pragma.js @@ -31,6 +31,8 @@ async function setupPragma(db, session, cipher = 'chacha20') { db.pragma(`cipher='${cipher}'`); if (typeof db.key === 'function') db.key(Buffer.from(decrypt(session.user.password))); + // + // else db.pragma(`key="${decrypt(session.user.password)}"`); try { db.pragma('journal_mode=WAL'); diff --git a/locales/ar.json b/locales/ar.json index 122a07ef6c..2a69373c7a 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "صناديق بريد SQLite المشفرة الآمنة", "Enter a strong new password:": "أدخل كلمة مرور جديدة قوية:", "New Password": "كلمة المرور الجديدة", - "Leave blank to use our strong and random 24-character password generator.": "اتركه فارغًا لاستخدام مولد كلمات المرور القوي والعشوائي المكون من 24 حرفًا." + "Leave blank to use our strong and random 24-character password generator.": "اتركه فارغًا لاستخدام مولد كلمات المرور القوي والعشوائي المكون من 24 حرفًا.", + "Quotes and apostrophes cannot be used as password characters.": "لا يمكن استخدام علامات الاقتباس والفواصل العليا كأحرف كلمة المرور." } \ No newline at end of file diff --git a/locales/cs.json b/locales/cs.json index 1dcb110f1d..7fdf2aee03 100644 --- a/locales/cs.json +++ b/locales/cs.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Kvantově bezpečné šifrované poštovní schránky SQLite", "Enter a strong new password:": "Zadejte nové silné heslo:", "New Password": "nové heslo", - "Leave blank to use our strong and random 24-character password generator.": "Chcete-li použít náš generátor silných a náhodných 24znakových hesel, ponechte prázdné." + "Leave blank to use our strong and random 24-character password generator.": "Chcete-li použít náš generátor silných a náhodných 24znakových hesel, ponechte prázdné.", + "Quotes and apostrophes cannot be used as password characters.": "Uvozovky a apostrofy nelze použít jako znaky hesla." } \ No newline at end of file diff --git a/locales/da.json b/locales/da.json index f8a189233a..fa4b8b929b 100644 --- a/locales/da.json +++ b/locales/da.json @@ -6014,5 +6014,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Quantum Safe Krypterede SQLite-postkasser", "Enter a strong new password:": "Indtast en stærk ny adgangskode:", "New Password": "nyt kodeord", - "Leave blank to use our strong and random 24-character password generator.": "Lad stå tomt for at bruge vores stærke og tilfældige 24-tegns adgangskodegenerator." + "Leave blank to use our strong and random 24-character password generator.": "Lad stå tomt for at bruge vores stærke og tilfældige 24-tegns adgangskodegenerator.", + "Quotes and apostrophes cannot be used as password characters.": "Citater og apostrof kan ikke bruges som kodeord." } \ No newline at end of file diff --git a/locales/de.json b/locales/de.json index 20beffd84d..d19077cea5 100644 --- a/locales/de.json +++ b/locales/de.json @@ -5312,5 +5312,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Quantum Safe verschlüsselte SQLite-Postfächer", "Enter a strong new password:": "Geben Sie ein sicheres neues Passwort ein:", "New Password": "Neues Kennwort", - "Leave blank to use our strong and random 24-character password generator.": "Lassen Sie das Feld leer, um unseren starken und zufälligen Passwortgenerator mit 24 Zeichen zu verwenden." + "Leave blank to use our strong and random 24-character password generator.": "Lassen Sie das Feld leer, um unseren starken und zufälligen Passwortgenerator mit 24 Zeichen zu verwenden.", + "Quotes and apostrophes cannot be used as password characters.": "Anführungszeichen und Apostrophe können nicht als Passwortzeichen verwendet werden." } \ No newline at end of file diff --git a/locales/es.json b/locales/es.json index 0b04d1f42b..01f816d9fd 100644 --- a/locales/es.json +++ b/locales/es.json @@ -6275,5 +6275,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Buzones de correo SQLite cifrados Quantum Safe", "Enter a strong new password:": "Ingrese una nueva contraseña segura:", "New Password": "Nueva contraseña", - "Leave blank to use our strong and random 24-character password generator.": "Déjelo en blanco para utilizar nuestro generador de contraseñas seguro y aleatorio de 24 caracteres." + "Leave blank to use our strong and random 24-character password generator.": "Déjelo en blanco para utilizar nuestro generador de contraseñas seguro y aleatorio de 24 caracteres.", + "Quotes and apostrophes cannot be used as password characters.": "No se pueden utilizar comillas ni apóstrofes como caracteres de contraseña." } \ No newline at end of file diff --git a/locales/fi.json b/locales/fi.json index 82abb22d19..92124ecead 100644 --- a/locales/fi.json +++ b/locales/fi.json @@ -6123,5 +6123,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Kvanttiturvalliset salatut SQLite-postilaatikot", "Enter a strong new password:": "Anna vahva uusi salasana:", "New Password": "uusi salasana", - "Leave blank to use our strong and random 24-character password generator.": "Jätä tyhjäksi, jos haluat käyttää vahvaa ja satunnaista 24-merkkistä salasanageneraattoriamme." + "Leave blank to use our strong and random 24-character password generator.": "Jätä tyhjäksi, jos haluat käyttää vahvaa ja satunnaista 24-merkkistä salasanageneraattoriamme.", + "Quotes and apostrophes cannot be used as password characters.": "Lainausmerkkejä ja heittomerkkejä ei voi käyttää salasanamerkkeinä." } \ No newline at end of file diff --git a/locales/fr.json b/locales/fr.json index 2e01b34355..7725d43b65 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Boîtes aux lettres SQLite chiffrées Quantum Safe", "Enter a strong new password:": "Saisissez un nouveau mot de passe fort :", "New Password": "nouveau mot de passe", - "Leave blank to use our strong and random 24-character password generator.": "Laissez ce champ vide pour utiliser notre générateur de mot de passe fort et aléatoire de 24 caractères." + "Leave blank to use our strong and random 24-character password generator.": "Laissez ce champ vide pour utiliser notre générateur de mot de passe fort et aléatoire de 24 caractères.", + "Quotes and apostrophes cannot be used as password characters.": "Les guillemets et les apostrophes ne peuvent pas être utilisés comme caractères de mot de passe." } \ No newline at end of file diff --git a/locales/he.json b/locales/he.json index 6eb36915a5..b877b4598b 100644 --- a/locales/he.json +++ b/locales/he.json @@ -3807,5 +3807,13 @@ "You can optionally include the string \"FROM_EMAIL\" and/or \"TO_EMAIL\" to insert the forwarding \"From\" address and the forwarding \"To\" address to give the user context.": "אתה יכול לכלול את המחרוזת \"FROM_EMAIL\" ו/או \"TO_EMAIL\" כדי להוסיף את כתובת \"מאת\" להעברה ואת כתובת \"אל\" להעברה כדי לתת הקשר למשתמש.", "HTML Preview": "תצוגה מקדימה של HTML", "Delete Domain": "מחק דומיין", - "Deleting your domain is irreversible. Please take extreme caution when deleting your domain.": "מחיקת הדומיין שלך היא בלתי הפיכה. נא לנקוט משנה זהירות בעת מחיקת הדומיין שלך." + "Deleting your domain is irreversible. Please take extreme caution when deleting your domain.": "מחיקת הדומיין שלך היא בלתי הפיכה. נא לנקוט משנה זהירות בעת מחיקת הדומיין שלך.", + "Switch domain plan": "החלף תוכנית דומיין", + "One or more of your domains are not on the %s plan.": "אחד או יותר מהדומיינים שלך אינם בתוכנית %s .", + "Click \"Change Plan\" → \"%s\" to resolve if needed.": "לחץ על "שנה תוכנית" → " %s " כדי לפתור במידת הצורך.", + "Switch domain plan?": "להחליף תוכנית דומיין?", + "To unlock the alias manager for this domain, you need to switch its plan. Don't worry – there is no extra cost.": "כדי לבטל את הנעילה של מנהל הכינוי עבור הדומיין הזה, עליך לשנות את התוכנית שלו. אל תדאג – אין עלות נוספת.", + "To unlock outbound SMTP email for this domain, you need to switch its plan.": "כדי לבטל את הנעילה של דוא\"ל SMTP יוצא עבור הדומיין הזה, עליך לשנות את התוכנית שלו.", + "To unlock logs for this domain, you need to switch its plan. Don't worry – there is no extra cost.": "כדי לפתוח יומנים עבור הדומיין הזה, עליך לשנות את התוכנית שלו. אל תדאג – אין עלות נוספת.", + "Quotes and apostrophes cannot be used as password characters.": "לא ניתן להשתמש במרכאות ובאגרות כתווי סיסמה." } \ No newline at end of file diff --git a/locales/hu.json b/locales/hu.json index 7082b77437..f082fee61b 100644 --- a/locales/hu.json +++ b/locales/hu.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Quantum Safe titkosított SQLite postafiókok", "Enter a strong new password:": "Adjon meg egy erős új jelszót:", "New Password": "új jelszó", - "Leave blank to use our strong and random 24-character password generator.": "Hagyja üresen az erős és véletlenszerű, 24 karakteres jelszógenerátorunk használatához." + "Leave blank to use our strong and random 24-character password generator.": "Hagyja üresen az erős és véletlenszerű, 24 karakteres jelszógenerátorunk használatához.", + "Quotes and apostrophes cannot be used as password characters.": "Idézőjel és aposztróf nem használható jelszó karakterként." } \ No newline at end of file diff --git a/locales/id.json b/locales/id.json index b1df38d9ce..44fdedbb4f 100644 --- a/locales/id.json +++ b/locales/id.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Kotak Surat SQLite Terenkripsi Quantum Safe", "Enter a strong new password:": "Masukkan kata sandi baru yang kuat:", "New Password": "kata sandi baru", - "Leave blank to use our strong and random 24-character password generator.": "Biarkan kosong untuk menggunakan pembuat kata sandi 24 karakter kami yang kuat dan acak." + "Leave blank to use our strong and random 24-character password generator.": "Biarkan kosong untuk menggunakan pembuat kata sandi 24 karakter kami yang kuat dan acak.", + "Quotes and apostrophes cannot be used as password characters.": "Kutipan dan apostrof tidak dapat digunakan sebagai karakter kata sandi." } \ No newline at end of file diff --git a/locales/it.json b/locales/it.json index c22d63fb18..fda6c74450 100644 --- a/locales/it.json +++ b/locales/it.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Caselle di posta SQLite crittografate Quantum Safe", "Enter a strong new password:": "Inserisci una nuova password complessa:", "New Password": "nuova password", - "Leave blank to use our strong and random 24-character password generator.": "Lascia vuoto per utilizzare il nostro generatore di password forte e casuale di 24 caratteri." + "Leave blank to use our strong and random 24-character password generator.": "Lascia vuoto per utilizzare il nostro generatore di password forte e casuale di 24 caratteri.", + "Quotes and apostrophes cannot be used as password characters.": "Le virgolette e gli apostrofi non possono essere utilizzati come caratteri della password." } \ No newline at end of file diff --git a/locales/ja.json b/locales/ja.json index 1eb765bf1e..8190068d68 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "量子安全な暗号化された SQLite メールボックス", "Enter a strong new password:": "強力な新しいパスワードを入力してください:", "New Password": "新しいパスワード", - "Leave blank to use our strong and random 24-character password generator.": "強力でランダムな 24 文字のパスワード ジェネレーターを使用するには、空白のままにします。" + "Leave blank to use our strong and random 24-character password generator.": "強力でランダムな 24 文字のパスワード ジェネレーターを使用するには、空白のままにします。", + "Quotes and apostrophes cannot be used as password characters.": "引用符とアポストロフィはパスワード文字として使用できません。" } \ No newline at end of file diff --git a/locales/ko.json b/locales/ko.json index 79a2dcce0f..b9f014790e 100644 --- a/locales/ko.json +++ b/locales/ko.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Quantum Safe 암호화된 SQLite 메일박스", "Enter a strong new password:": "강력한 새 비밀번호를 입력하세요.", "New Password": "새 비밀번호", - "Leave blank to use our strong and random 24-character password generator.": "강력하고 임의의 24자 비밀번호 생성기를 사용하려면 공백으로 남겨두세요." + "Leave blank to use our strong and random 24-character password generator.": "강력하고 임의의 24자 비밀번호 생성기를 사용하려면 공백으로 남겨두세요.", + "Quotes and apostrophes cannot be used as password characters.": "따옴표와 아포스트로피는 암호 문자로 사용할 수 없습니다." } \ No newline at end of file diff --git a/locales/nl.json b/locales/nl.json index 3e5753274a..f64e6562c8 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Quantum Safe gecodeerde SQLite-mailboxen", "Enter a strong new password:": "Voer een sterk nieuw wachtwoord in:", "New Password": "nieuw paswoord", - "Leave blank to use our strong and random 24-character password generator.": "Laat dit veld leeg om onze sterke en willekeurige wachtwoordgenerator van 24 tekens te gebruiken." + "Leave blank to use our strong and random 24-character password generator.": "Laat dit veld leeg om onze sterke en willekeurige wachtwoordgenerator van 24 tekens te gebruiken.", + "Quotes and apostrophes cannot be used as password characters.": "Aanhalingstekens en apostrofs kunnen niet als wachtwoordtekens worden gebruikt." } \ No newline at end of file diff --git a/locales/no.json b/locales/no.json index ceb67c9470..c73486c1a3 100644 --- a/locales/no.json +++ b/locales/no.json @@ -6282,5 +6282,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Quantum Safe Krypterte SQLite-postbokser", "Enter a strong new password:": "Skriv inn et sterkt nytt passord:", "New Password": "Nytt passord", - "Leave blank to use our strong and random 24-character password generator.": "La stå tomt for å bruke vår sterke og tilfeldige passordgenerator med 24 tegn." + "Leave blank to use our strong and random 24-character password generator.": "La stå tomt for å bruke vår sterke og tilfeldige passordgenerator med 24 tegn.", + "Quotes and apostrophes cannot be used as password characters.": "Sitater og apostrof kan ikke brukes som passordtegn." } \ No newline at end of file diff --git a/locales/pl.json b/locales/pl.json index 5f1adcf586..9ee35768a8 100644 --- a/locales/pl.json +++ b/locales/pl.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Zaszyfrowane skrzynki pocztowe SQLite Quantum Safe", "Enter a strong new password:": "Wprowadź nowe, silne hasło:", "New Password": "nowe hasło", - "Leave blank to use our strong and random 24-character password generator.": "Pozostaw puste, aby skorzystać z naszego silnego i losowego generatora haseł składających się z 24 znaków." + "Leave blank to use our strong and random 24-character password generator.": "Pozostaw puste, aby skorzystać z naszego silnego i losowego generatora haseł składających się z 24 znaków.", + "Quotes and apostrophes cannot be used as password characters.": "Cudzysłów i apostrofów nie można używać jako znaków hasła." } \ No newline at end of file diff --git a/locales/pt.json b/locales/pt.json index 0a2cff8ea2..43366ea50e 100644 --- a/locales/pt.json +++ b/locales/pt.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Caixas de correio SQLite criptografadas do Quantum Safe", "Enter a strong new password:": "Digite uma nova senha forte:", "New Password": "Nova Senha", - "Leave blank to use our strong and random 24-character password generator.": "Deixe em branco para usar nosso gerador de senha forte e aleatório de 24 caracteres." + "Leave blank to use our strong and random 24-character password generator.": "Deixe em branco para usar nosso gerador de senha forte e aleatório de 24 caracteres.", + "Quotes and apostrophes cannot be used as password characters.": "Aspas e apóstrofos não podem ser usados como caracteres de senha." } \ No newline at end of file diff --git a/locales/ru.json b/locales/ru.json index 3b557c64c5..5be9a3bcfa 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Почтовые ящики SQLite с шифрованием Quantum Safe", "Enter a strong new password:": "Введите новый надежный пароль:", "New Password": "Новый пароль", - "Leave blank to use our strong and random 24-character password generator.": "Оставьте поле пустым, чтобы использовать наш генератор надежных и случайных 24-значных паролей." + "Leave blank to use our strong and random 24-character password generator.": "Оставьте поле пустым, чтобы использовать наш генератор надежных и случайных 24-значных паролей.", + "Quotes and apostrophes cannot be used as password characters.": "В качестве символов пароля нельзя использовать кавычки и апострофы." } \ No newline at end of file diff --git a/locales/sv.json b/locales/sv.json index 4240eed125..6ef525704c 100644 --- a/locales/sv.json +++ b/locales/sv.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Quantum Safe Krypterade SQLite-postlådor", "Enter a strong new password:": "Ange ett starkt nytt lösenord:", "New Password": "nytt lösenord", - "Leave blank to use our strong and random 24-character password generator.": "Lämna tomt för att använda vår starka och slumpmässiga lösenordsgenerator med 24 tecken." + "Leave blank to use our strong and random 24-character password generator.": "Lämna tomt för att använda vår starka och slumpmässiga lösenordsgenerator med 24 tecken.", + "Quotes and apostrophes cannot be used as password characters.": "Citat och apostrof kan inte användas som lösenordstecken." } \ No newline at end of file diff --git a/locales/th.json b/locales/th.json index 49521b1eff..c2d779162f 100644 --- a/locales/th.json +++ b/locales/th.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "กล่องจดหมาย SQLite ที่เข้ารหัส Quantum Safe", "Enter a strong new password:": "ป้อนรหัสผ่านใหม่ที่แข็งแกร่ง:", "New Password": "รหัสผ่านใหม่", - "Leave blank to use our strong and random 24-character password generator.": "เว้นว่างไว้เพื่อใช้เครื่องมือสร้างรหัสผ่านที่แข็งแกร่งและสุ่ม 24 ตัวอักษรของเรา" + "Leave blank to use our strong and random 24-character password generator.": "เว้นว่างไว้เพื่อใช้เครื่องมือสร้างรหัสผ่านที่แข็งแกร่งและสุ่ม 24 ตัวอักษรของเรา", + "Quotes and apostrophes cannot be used as password characters.": "เครื่องหมายคำพูดและเครื่องหมายอะพอสทรอฟีไม่สามารถใช้เป็นอักขระรหัสผ่านได้" } \ No newline at end of file diff --git a/locales/tr.json b/locales/tr.json index d6da428a64..928edfe0e1 100644 --- a/locales/tr.json +++ b/locales/tr.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Kuantum Güvenli Şifreli SQLite Posta Kutuları", "Enter a strong new password:": "Güçlü ve yeni bir şifre girin:", "New Password": "Yeni Şifre", - "Leave blank to use our strong and random 24-character password generator.": "Güçlü ve rastgele 24 karakterli şifre oluşturucumuzu kullanmak için boş bırakın." + "Leave blank to use our strong and random 24-character password generator.": "Güçlü ve rastgele 24 karakterli şifre oluşturucumuzu kullanmak için boş bırakın.", + "Quotes and apostrophes cannot be used as password characters.": "Tırnak işaretleri ve kesme işaretleri şifre karakteri olarak kullanılamaz." } \ No newline at end of file diff --git a/locales/uk.json b/locales/uk.json index 946727b0d9..d612715332 100644 --- a/locales/uk.json +++ b/locales/uk.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Поштові скриньки Quantum Safe Encrypted SQLite", "Enter a strong new password:": "Введіть новий надійний пароль:", "New Password": "Новий пароль", - "Leave blank to use our strong and random 24-character password generator.": "Залиште поле пустим, щоб використовувати наш надійний і випадковий генератор паролів із 24 символів." + "Leave blank to use our strong and random 24-character password generator.": "Залиште поле пустим, щоб використовувати наш надійний і випадковий генератор паролів із 24 символів.", + "Quotes and apostrophes cannot be used as password characters.": "Лапки та апостроф не можна використовувати як символи пароля." } \ No newline at end of file diff --git a/locales/vi.json b/locales/vi.json index 0e5d8c588d..03af9f6a08 100644 --- a/locales/vi.json +++ b/locales/vi.json @@ -6277,5 +6277,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "Hộp thư SQLite được mã hóa an toàn lượng tử", "Enter a strong new password:": "Nhập mật khẩu mới mạnh:", "New Password": "mật khẩu mới", - "Leave blank to use our strong and random 24-character password generator.": "Để trống để sử dụng trình tạo mật khẩu mạnh và ngẫu nhiên gồm 24 ký tự của chúng tôi." + "Leave blank to use our strong and random 24-character password generator.": "Để trống để sử dụng trình tạo mật khẩu mạnh và ngẫu nhiên gồm 24 ký tự của chúng tôi.", + "Quotes and apostrophes cannot be used as password characters.": "Không thể sử dụng dấu ngoặc kép và dấu nháy đơn làm ký tự mật khẩu." } \ No newline at end of file diff --git a/locales/zh.json b/locales/zh.json index f8eff230e7..658feb21a6 100644 --- a/locales/zh.json +++ b/locales/zh.json @@ -5969,5 +5969,6 @@ "Quantum Safe Encrypted SQLite Mailboxes": "量子安全加密 SQLite 邮箱", "Enter a strong new password:": "输入一个强新密码:", "New Password": "新密码", - "Leave blank to use our strong and random 24-character password generator.": "留空以使用我们强大的随机 24 字符密码生成器。" + "Leave blank to use our strong and random 24-character password generator.": "留空以使用我们强大的随机 24 字符密码生成器。", + "Quotes and apostrophes cannot be used as password characters.": "引号和撇号不能用作密码字符。" } \ No newline at end of file