• Joined on 2026-04-19
mnovak created pull request mnovak/Amicitia-Tabellarius#15 2026-11-16 01:03:19 +01:00
[client] F22a: snapshot and restore; staged calls that send nothing before the app has saved
mnovak commented on pull request mnovak/Amicitia-Tabellarius#15 2026-11-16 01:03:19 +01:00
[client] F22a: snapshot and restore; staged calls that send nothing before the app has saved

R5 — a partial receive. If the relay fails after some mailboxes were processed, the client's state already includes them. Returning an error here would lose those messages: the app would not save them, and fetching them again gives MLS replays that are dropped. So receive returns what it has, with interrupted set.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#15 2026-11-16 01:03:19 +01:00
[client] F22a: snapshot and restore; staged calls that send nothing before the app has saved

R8 — the library has no clock. An unclaimed invite's welcome mailbox would be fetched for ever: wasted requests, and one more mailbox linked by timing (PROTOCOL.md section 1). forget_invite lets the app stop it after the relay's 7 days, or when the user cancels.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#15 2026-11-16 01:03:19 +01:00
[client] F22a: snapshot and restore; staged calls that send nothing before the app has saved

R7 — an Outgoing carries a post token. An app that keeps an outbox must keep it in encrypted storage too. Debug prints only the size. The blob itself is MLS ciphertext.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#15 2026-11-16 01:03:19 +01:00
[client] F22a: snapshot and restore; staged calls that send nothing before the app has saved

R6 — a claimed invite is used up before anything is saved. If the app dies between the claim and saving, the link no longer works; the person asks for a new one. Unavoidable with a one-time claim, and harmless: nothing readable is exposed.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#15 2026-11-16 01:03:19 +01:00
[client] F22a: snapshot and restore; staged calls that send nothing before the app has saved

R2 — written whole after every change. A few KB per contact. Fine for 1:1 chats with dozens of people; a table per key would scale better. Not measured with many contacts; for later, when measured.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#15 2026-11-16 01:03:19 +01:00
[client] F22a: snapshot and restore; staged calls that send nothing before the app has saved

R1 — the snapshot is the identity. It holds every secret: MLS private keys, fetch and post tokens. It must live only in encrypted storage (Amicitia: SQLCipher), never in a log or a backup in the clear. The library writes no file and implements no Debug for it. Encrypting it again inside the library would need a second key stored somewhere; not done, stated in the analysis.

mnovak pushed to feature/client-state at mnovak/Amicitia-Tabellarius 2026-11-16 01:02:33 +01:00
6f939be758 [client] F22a: forget_invite, so an unclaimed invite's mailbox is not fetched for ever
mnovak created branch feature/client-state in mnovak/Amicitia-Tabellarius 2026-11-16 00:59:27 +01:00
mnovak pushed to feature/client-state at mnovak/Amicitia-Tabellarius 2026-11-16 00:59:27 +01:00
21bee2d633 [client] F22a: snapshot and restore, and staged calls that send nothing before the app has saved
mnovak pushed tag v0.17.1 to mnovak/CustosPublic 2026-11-14 17:51:50 +01:00
mnovak merged pull request mnovak/CustosPublic#22 2026-11-14 17:51:47 +01:00
[sign] Approval: a deploy approval may expire up to 25 hours ahead; v0.17.1
mnovak pushed to main at mnovak/CustosPublic 2026-11-14 17:51:44 +01:00
9b40c834dd [repo] Merge: feature/approval-25h (a deploy approval may expire up to 25 hours ahead; v0.17.1, PR #22)
f84ac575bd [sign] Approval: a deploy approval may expire up to 25 hours ahead (was an hour), so a release's day-long card can still be signed; v0.17.1
Compare 2 commits »
mnovak created branch feature/approval-25h in mnovak/CustosPublic 2026-11-14 17:51:32 +01:00
mnovak pushed to feature/approval-25h at mnovak/CustosPublic 2026-11-14 17:51:32 +01:00
f84ac575bd [sign] Approval: a deploy approval may expire up to 25 hours ahead (was an hour), so a release's day-long card can still be signed; v0.17.1
mnovak created pull request mnovak/CustosPublic#22 2026-11-14 17:51:31 +01:00
[sign] Approval: a deploy approval may expire up to 25 hours ahead; v0.17.1
mnovak commented on issue mnovak/Amicitia-Tabellarius#3 2026-11-14 15:00:46 +01:00
Verify OpenMLS licence and mobile (Android/iOS) build

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,…

mnovak closed issue mnovak/Amicitia-Tabellarius#6 2026-11-14 15:00:46 +01:00
Client: OpenMLS wrapper + mailbox client + invitations
mnovak commented on pull request mnovak/Amicitia-Tabellarius#14 2026-11-14 15:00:45 +01:00
F21: the client — MLS 1:1, mailboxes, invites

Merged into main with --no-ff as 47ed9eef1814814f18b5e359fbd65e5f5f17701e (remote hash verified). The self-review is review 374 on this PR.

mnovak commented on issue mnovak/Amicitia-Tabellarius#6 2026-11-14 15:00:45 +01:00
Client: OpenMLS wrapper + mailbox client + invitations

Done in PR #14, merged as 47ed9eef1814814f18b5e359fbd65e5f5f17701e.