halkyon/packages/halkyon_keys/test
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_keys_test.dart feat(app): sign in with a password and TOTP on the device 2026-10-23 14:12:41 +02:00
argon2id_test.dart feat(keys): halkyon_keys, an account's keys on the device 2026-10-22 18:11:09 +02:00
bip39_vectors.dart feat(keys): halkyon_keys, an account's keys on the device 2026-10-22 18:11:09 +02:00
data_keys_and_content_test.dart feat(keys): halkyon_keys, an account's keys on the device 2026-10-22 18:11:09 +02:00
password_keys_test.dart fix(keys): a device refuses Argon2id costs beyond the register's ceiling 2026-10-23 14:12:42 +02:00
password_text_test.dart fix(keys): new passwords have at least 12 characters 2026-10-23 14:12:43 +02:00
recovery_phrase_test.dart fix(auth)!: the recovery phrase is proved by a key of its own 2026-10-23 14:12:43 +02:00