halkyon/packages/halkyon_keys/test
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
..
account_keys_test.dart fix(app): no sheet is left busy by an error nothing expected 2026-10-23 14:12:56 +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 fix(app): no sheet is left busy by an error nothing expected 2026-10-23 14:12:56 +02:00
password_keys_test.dart feat(keys): the password's own proof key (ADR 0020, D19) 2026-10-24 09:17:48 +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 refactor(core,keys): BIP-39's English list moves into halkyon_core 2026-10-26 07:17:05 +01:00
row_ids_test.dart fix(train): no row's ID tells the instance a date: the days' IDs are keyed by the account (ADR 0030, D57) 2026-10-30 16:12:01 +01:00
safety_code_test.dart feat(base,app,keys): keys of shared spaces, sealed to each member 2026-11-11 11:35:42 +01:00