halkyon/packages/halkyon_base_server/test/integration/support
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 a253700f8b
test(app): the device's real cryptography meets the register's checks
The register's tests make the device's side from made-up bytes, and the
app's from fakes; nothing held what the device's real cryptography
(libsodium, on isolates) makes to what the register takes. Now
register_interop_test.dart does: a new account's setup passes
isPasswordSetup, the device's SRP answer checks with the register's
srpVerify and its M2 with the device, bound to the instance and the
purpose (another instance's or a change's identity refused), the keys
open as made, a new password passes isNewPassword, and the phrase's proof
for it checks against the phrase's own key, never the account's, with
the device's framing of the message the register's. halkyon_base_server
exports the checks it uses; halkyon_app takes it as a dev dependency.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-23 14:12:58 +02:00
..
curve25519.dart fix(auth): decoy encryption keys are keys a device could have made 2026-10-23 14:12:43 +02:00
fixtures.dart fix(auth)!: a first password takes a fresh proof of the account's way in 2026-10-23 14:12:50 +02:00
mailbox.dart fix(auth): a code by mail serves only what it was asked for 2026-10-23 14:12:48 +02:00
password_device.dart test(app): the device's real cryptography meets the register's checks 2026-10-23 14:12:58 +02:00
password_support.dart fix(auth): a session's wrong codes end the session, not the account's codes 2026-10-23 14:12:47 +02:00