Licence and Android done in PR #14 (merged as 47ed9eef1814814f18b5e359fbd65e5f5f17701e): MIT/Apache/BSD except hpke-rs (MPL-2.0, needs a source notice in Amicitia); no C code; builds for aarch64,…
Done in PR #14, merged as 47ed9eef1814814f18b5e359fbd65e5f5f17701e.
Merged into main with --no-ff as 47ed9eef1814814f18b5e359fbd65e5f5f17701e (remote hash verified). The self-review is review 374 on this PR.
Adversarial self-review — F21, the client (MLS 1:1, mailboxes, invites)
F1 — test honesty, fixed. A second hello had no test; a planted bug that accepted it (redirecting messages to another mailbox) passed. This unit test catches it.
F6 — state lives in memory. A restart loses the groups. Keeping MLS state in Amicitia's encrypted mls table is F22; until then nothing is used for real.
F5 — whoever opens the link first becomes the contact. The inviter sees the joiner's name. A leaked link is answered by safety footprints (F26), and by sharing links privately or by QR in person.
F4 — privacy. Hellos and texts are MLS private messages with empty additional data; the third planted bug (payload in the AAD) guards this.
F1 — test honesty, fixed. This test first posted its junk into a third client's welcome mailbox, so the client under test never saw it. It now posts junk before and after the real Welcome, into the right mailbox, and counts what is left on the relay.
F4 — privacy: what the relay sees. The KeyPackage waits on the relay until claimed: the inviter's MLS public keys and this credential, 16 random bytes, not a name (the first planted bug guards it). The Welcome is encrypted to the KeyPackage. The relay cannot tell that the welcome mailbox and the two personal mailboxes belong together, except by timing (section 1, stated).