halkyon/packages/halkyon_base_server/test/integration
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 e5b9578916
feat(base): mending a broken SimpleLogin link with the handle and the recovery phrase (ADR 0020, D7)
Someone whose SimpleLogin identity is new to the register but who has an
account ("I already have one") names their handle and proves the
account's recovery phrase; the new identity takes the old one's place.

- `simpleLogin.beginMend(attempt, handle)`: the keys wrapped under the
  phrase's key, the public keys and a nonce, for the account with that
  handle (whatever its case). Only an account with keys and a SimpleLogin
  identity is mended, a link it had, as nobody adds SimpleLogin signed
  out (D10); a handle nobody has, or any other account's, gets a decoy
  from `signInDecoyKey`, the same each time. At most 10 an hour per
  handle and 30 per network.
- `simpleLogin.mend(attempt, proof)`: the phrase's proof for `mendLink`,
  binding the attempt (`mendLinkDigest`, on both sides), so a proof
  relayed from another sign-in links nobody's identity but the device's
  own; checked for the waiting identity first, which leaves the proof
  unspent. Every session of the account ends, in every service, and the
  sign-in stands ten minutes for a change, such as a lost password.
- SimpleLogin needs `SIGN_IN_DECOY_KEY` alone of ADR 0017's three keys
  (`signInDecoyKeyOf`); `addInstanceRoutes` stops a server with a
  SimpleLogin app and without it (`checkSimpleLoginMending`).
- Members ask the register for both; `RemoteRegister` and the instance
  API carry them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-24 09:17:49 +02:00
..
auth fix(auth): a GitHub account someone has is theirs to switch to where passwords are offered too 2026-10-23 14:13:06 +02:00
instance fix(auth): a code by mail serves only what it was asked for 2026-10-23 14:12:48 +02:00
keys feat(base): the changes of SimpleLogin accounts' keys, each with the password and a fresh sign-in (ADR 0020, D20) 2026-10-24 09:17:49 +02:00
password feat(base): SimpleLogin accounts' keys without SRP, signing up in one call (ADR 0020, step 3) 2026-10-24 09:17:48 +02:00
profile refactor(profile): handles and profiles move into halkyon_base 2026-10-22 18:11:07 +02:00
register feat(base): mending a broken SimpleLogin link with the handle and the recovery phrase (ADR 0020, D7) 2026-10-24 09:17:49 +02:00
simplelogin feat(base): mending a broken SimpleLogin link with the handle and the recovery phrase (ADR 0020, D7) 2026-10-24 09:17:49 +02:00
support feat(base): mending a broken SimpleLogin link with the handle and the recovery phrase (ADR 0020, D7) 2026-10-24 09:17:49 +02:00
test_tools feat(base): mending a broken SimpleLogin link with the handle and the recovery phrase (ADR 0020, D7) 2026-10-24 09:17:49 +02:00
configuration_test.dart halkyon_base: a Serverpod module for sign-in, accounts and instance basics 2026-10-19 14:29:28 +02:00