halkyon/apps/todo/halkyon_todo_client/lib/migrations
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 b72cea1fe0
feat(base,app,keys): keys of shared spaces, sealed to each member
Step 3 of ADR 0044 (D3, D18, D19). A shared space's data keys are
sealed on a device to each member's public keys; the instance keeps
what devices sealed and never opens it.

- halkyon_keys: the safety code of two accounts' public keys
  (`safetyCode`), 60 digits, the same on both sides.
- halkyon_base: the register hands out accounts' public keys
  (`public-keys-of`, local and remote); the table `shared_space_key`
  and the endpoint `sharedSpaceKeys` (memberKeys, keysNeeded, seal,
  mine). Only the Owner and Editors seal, the first key sealed to a
  member stays, and a member's keys go with their membership. Every
  host's migration creates the table.
- halkyon_app: `ContentCipher` seals a key to another account and
  opens one sealed by another; `SharedKeys` shares a space's key with
  its members, seals keys to newcomers and opens the person's own,
  holding each member to the public keys `KeyPins` pinned on first
  sight (`key_pins.json` in the person's folder), a change refused
  until trusted anew.

Learn takes them into its `Privacy` in step 4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-11 11:35:42 +01:00
..
20261101000019144-projects feat(todo): the sync engine and Todo's first models (ADR 0033, D5, D6) 2026-11-01 01:00:53 +01:00
20261101000604776-tasks feat(todo): sections, tasks and labels on the server (ADR 0033, D6) 2026-11-01 01:06:24 +01:00
20261101180755366-settings feat(todo): a project's Calendar, Upcoming's Display and its 3-day grid (ADR 0033, D17) 2026-11-01 20:01:00 +01:00
20261106183802735-filters feat(todo): filters in Todoist's language, and a view of each label (ADR 0033, D35) 2026-11-07 21:49:42 +01:00
20261106184947570-comments feat(todo): comments on a task (ADR 0033, D36) 2026-11-07 21:49:44 +01:00
20261110225635732-file-store refactor(base,learn): people's files kept by halkyon_base 2026-11-11 01:19:28 +01:00
20261110231607673-attachments feat(todo,app): files attached to tasks and comments 2026-11-11 01:19:41 +01:00
20261111091721303-shared-spaces feat(base,learn): spaces people share, kept by halkyon_base 2026-11-11 10:54:19 +01:00
20261111100125297-shared-space-keys feat(base,app,keys): keys of shared spaces, sealed to each member 2026-11-11 11:35:42 +01:00
migration_registry.dart feat(base,app,keys): keys of shared spaces, sealed to each member 2026-11-11 11:35:42 +01:00