halkyon/packages/halkyon_app/test/password/bloc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 b33b99a50a
fix(keys): new passwords have at least 12 characters
The register can't check a password it never sees, and should its
database leak, the verifier and the keys wrapped under the password fall
to guessing at Argon2id's cost (the second reading's M8). Devices now
refuse a new password shorter than 12 characters, counted as code points
once normalised (halkyon_keys' checkNewPassword), at sign-up, a reset
keeping the keys and a change alike, before anything is derived; the new
password's field says so, and the refusal has its own text (en, de).
Signing in takes any length, so a password set before keeps working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-23 14:12:43 +02:00
..
account_recovery_cubit_test.dart fix(keys): new passwords have at least 12 characters 2026-10-23 14:12:43 +02:00
account_security_cubit_test.dart test(app): the password cubits' states, every refusal included 2026-10-23 14:12:42 +02:00
account_setup_cubit_test.dart fix(keys): new passwords have at least 12 characters 2026-10-23 14:12:43 +02:00
password_sign_in_cubit_test.dart test(app): the password cubits' states, every refusal included 2026-10-23 14:12:42 +02:00
states.dart test(app): the password cubits' states, every refusal included 2026-10-23 14:12:42 +02:00