From 9950cafafcfca933d3243ad87af09737359985f0 Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Tue, 30 Apr 2024 19:50:33 +0200 Subject: [PATCH] fix: improve information on unsupported hash algorithms (#7870) * fix: improve information on unsupported hash algorithms * Update de.yaml --- docs/docs/concepts/architecture/secrets.md | 3 +++ internal/static/i18n/bg.yaml | 2 +- internal/static/i18n/cs.yaml | 2 +- internal/static/i18n/de.yaml | 2 +- internal/static/i18n/en.yaml | 2 +- internal/static/i18n/es.yaml | 2 +- internal/static/i18n/fr.yaml | 2 +- internal/static/i18n/it.yaml | 2 +- internal/static/i18n/ja.yaml | 2 +- internal/static/i18n/mk.yaml | 2 +- internal/static/i18n/nl.yaml | 2 +- internal/static/i18n/pl.yaml | 2 +- internal/static/i18n/pt.yaml | 1 + internal/static/i18n/ru.yaml | 2 +- internal/static/i18n/zh.yaml | 2 +- 15 files changed, 17 insertions(+), 13 deletions(-) diff --git a/docs/docs/concepts/architecture/secrets.md b/docs/docs/concepts/architecture/secrets.md index a2b936b71e..0b79ef497e 100644 --- a/docs/docs/concepts/architecture/secrets.md +++ b/docs/docs/concepts/architecture/secrets.md @@ -80,6 +80,9 @@ ZITADEL updates stored hashes when the configured algorithm or its parameters ar the first time verification succeeds. This allows to increase cost along with growing computing power. ZITADEL allows to import user passwords from systems that use any of the above hashing algorithms. + +Note however that by default, only `bcrypt` is enabled. +Further `Verifiers` must be enabled in the [configuration](/self-hosting/manage/configure) by the system administrator. ::: ### Encrypted Secrets diff --git a/internal/static/i18n/bg.yaml b/internal/static/i18n/bg.yaml index a83673b2e6..aa6223fd05 100644 --- a/internal/static/i18n/bg.yaml +++ b/internal/static/i18n/bg.yaml @@ -138,7 +138,7 @@ Errors: Invalid: Паролата е невалидна NotSet: Потребителят не е задал парола NotChanged: Новата парола не може да съвпада с текущата парола - NotSupported: Хеш кодирането на паролата не се поддържа + NotSupported: Хеш кодирането на паролата не се поддържа. Вижте https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Политиката за парола не е намерена MinLength: Паролата е твърде кратка diff --git a/internal/static/i18n/cs.yaml b/internal/static/i18n/cs.yaml index 946a71c116..cc35a3165a 100644 --- a/internal/static/i18n/cs.yaml +++ b/internal/static/i18n/cs.yaml @@ -136,7 +136,7 @@ Errors: Invalid: Heslo je neplatné NotSet: Uživatel nenastavil heslo NotChanged: Nové heslo nesmí být stejné jako současné heslo - NotSupported: Kódování hash hesla není podporováno + NotSupported: Kódování hash hesla není podporováno. Podívejte se na https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Politika složitosti hesla nenalezena MinLength: Heslo je příliš krátké diff --git a/internal/static/i18n/de.yaml b/internal/static/i18n/de.yaml index 2c414dfbfe..c36ea20c46 100644 --- a/internal/static/i18n/de.yaml +++ b/internal/static/i18n/de.yaml @@ -136,7 +136,7 @@ Errors: Invalid: Passwort ungültig NotSet: Benutzer hat kein Passwort gesetzt NotChanged: Das neue Passwort darf nicht mit deinem aktuellen Passwort übereinstimmen - NotSupported: Passwort-Hash-Kodierung wird nicht unterstützt + NotSupported: Passwort-Hash-Kodierung wird nicht unterstützt. Siehe https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Passwort Policy konnte nicht gefunden werden MinLength: Passwort ist zu kurz diff --git a/internal/static/i18n/en.yaml b/internal/static/i18n/en.yaml index 23040d523a..bec1ac2a72 100644 --- a/internal/static/i18n/en.yaml +++ b/internal/static/i18n/en.yaml @@ -136,7 +136,7 @@ Errors: Invalid: Password is invalid NotSet: User has not set a password NotChanged: New password cannot be the same as your current password - NotSupported: Password hash encoding not supported + NotSupported: Password hash encoding not supported. Check out https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Password policy not found MinLength: Password is too short diff --git a/internal/static/i18n/es.yaml b/internal/static/i18n/es.yaml index 1eb549a8d2..89eca6f58e 100644 --- a/internal/static/i18n/es.yaml +++ b/internal/static/i18n/es.yaml @@ -136,7 +136,7 @@ Errors: Invalid: La contraseña no es válida NotSet: El usuario no ha establecido una contraseña NotChanged: La nueva contraseña no puede coincidir con la contraseña actual - NotSupported: No se admite la codificación hash de contraseña + NotSupported: No se admite la codificación hash de contraseña. Consulte https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Política de contraseñas no encontrada MinLength: La contraseña es demasiado corta diff --git a/internal/static/i18n/fr.yaml b/internal/static/i18n/fr.yaml index 446e776475..308dea53af 100644 --- a/internal/static/i18n/fr.yaml +++ b/internal/static/i18n/fr.yaml @@ -136,7 +136,7 @@ Errors: Invalid: Le mot de passe n'est pas valide NotSet: L'utilisateur n'a pas défini de mot de passe NotChanged: Le nouveau mot de passe ne peut pas être le même que votre mot de passe actuel - NotSupported: Encodage de hachage de mot de passe non pris en charge + NotSupported: Encodage de hachage de mot de passe non pris en charge. Consultez https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Politique de mot de passe non trouvée MinLength: Le mot de passe est trop court diff --git a/internal/static/i18n/it.yaml b/internal/static/i18n/it.yaml index 064f3929ef..9537a5b790 100644 --- a/internal/static/i18n/it.yaml +++ b/internal/static/i18n/it.yaml @@ -136,7 +136,7 @@ Errors: Invalid: La password non è valida NotSet: L'utente non ha impostato una password NotChanged: La nuova password non può essere uguale alla password attuale - NotSupported: Codifica hash password non supportata + NotSupported: Codifica hash password non supportata. Consulta https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Impostazioni di complessità password non trovati MinLength: La password è troppo corta diff --git a/internal/static/i18n/ja.yaml b/internal/static/i18n/ja.yaml index 4ef7b8f985..130e89d55f 100644 --- a/internal/static/i18n/ja.yaml +++ b/internal/static/i18n/ja.yaml @@ -128,7 +128,7 @@ Errors: Invalid: 無効なパスワードです NotSet: パスワードが未設置です NotChanged: 新しいパスワードは現在のパスワードと同じにすることはできません - NotSupported: パスワードハッシュエンコードはサポートされていません + NotSupported: パスワードハッシュエンコードはサポートされていません。 https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets を参照してください。 PasswordComplexityPolicy: NotFound: パスワードポリシーが見つかりません MinLength: パスワードが短すぎます diff --git a/internal/static/i18n/mk.yaml b/internal/static/i18n/mk.yaml index 4d7d23ff33..293afdd843 100644 --- a/internal/static/i18n/mk.yaml +++ b/internal/static/i18n/mk.yaml @@ -135,7 +135,7 @@ Errors: Invalid: Невалидна лозинка NotSet: Корисникот нема поставено лозинка NotChanged: Новата лозинка не може да биде иста со вашата тековна лозинка - NotSupported: Не е поддржано хаш-кодирањето на лозинката + NotSupported: Не е поддржано хаш-кодирањето на лозинката. Проверете го https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Политиката за комплексност на лозинката не е пронајдена MinLength: Лозинката е прекратка diff --git a/internal/static/i18n/nl.yaml b/internal/static/i18n/nl.yaml index 4a944fcc48..d0afcfc072 100644 --- a/internal/static/i18n/nl.yaml +++ b/internal/static/i18n/nl.yaml @@ -135,7 +135,7 @@ Errors: Invalid: Wachtwoord is ongeldig NotSet: Gebruiker heeft geen wachtwoord ingesteld NotChanged: Nieuw wachtwoord kan niet hetzelfde zijn als uw huidige wachtwoord - NotSupported: Wachtwoord hash codering wordt niet ondersteund + NotSupported: Wachtwoord hash codering wordt niet ondersteund. Raadpleeg https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Wachtwoordbeleid niet gevonden MinLength: Wachtwoord is te kort diff --git a/internal/static/i18n/pl.yaml b/internal/static/i18n/pl.yaml index bb16fec122..381ab9f6ad 100644 --- a/internal/static/i18n/pl.yaml +++ b/internal/static/i18n/pl.yaml @@ -136,7 +136,7 @@ Errors: Invalid: Hasło jest nieprawidłowe NotSet: Użytkownik nie ustawił hasła NotChanged: Nowe hasło nie może być takie samo jak Twoje obecne hasło - NotSupported: Kodowanie skrótu hasła nie jest obsługiwane + NotSupported: Kodowanie skrótu hasła nie jest obsługiwane. Sprawdź https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Polityka hasła nie znaleziona MinLength: Hasło jest zbyt krótkie diff --git a/internal/static/i18n/pt.yaml b/internal/static/i18n/pt.yaml index 3bcc981d31..9f0d94d9c4 100644 --- a/internal/static/i18n/pt.yaml +++ b/internal/static/i18n/pt.yaml @@ -136,6 +136,7 @@ Errors: Invalid: Senha é inválida NotSet: O usuário não definiu uma senha NotChanged: A nova senha não pode ser igual à sua senha atual + NotSupported: Codificação hash da senha não suportada. Confira https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Política de complexidade de senha não encontrada MinLength: A senha é muito curta diff --git a/internal/static/i18n/ru.yaml b/internal/static/i18n/ru.yaml index 5d4182d253..172f2bee01 100644 --- a/internal/static/i18n/ru.yaml +++ b/internal/static/i18n/ru.yaml @@ -136,7 +136,7 @@ Errors: Invalid: Неверный пароль NotSet: Пароль не установлен пользователем NotChanged: Пароль не изменен - NotSupported: Кодировка хэша пароля не поддерживается. + NotSupported: Кодировка хэша пароля не поддерживается. Проверьте https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: Политика паролей не найдена MinLength: Пароль слишком короткий diff --git a/internal/static/i18n/zh.yaml b/internal/static/i18n/zh.yaml index 9e48034abd..171807a1a8 100644 --- a/internal/static/i18n/zh.yaml +++ b/internal/static/i18n/zh.yaml @@ -136,7 +136,7 @@ Errors: Invalid: 密码无效 NotSet: 用户未设置密码 NotChanged: 新密码不能与您当前的密码相同 - NotSupported: 不支持密码哈希编码 + NotSupported: 不支持密码哈希编码。查看 https://zitadel.com/docs/concepts/architecture/secrets#hashed-secrets PasswordComplexityPolicy: NotFound: 未找到密码策略 MinLength: 密码太短