feat: the inbox key changes with the group's admins (group-inbox, Phase 9)

InboxRotation reads what every admin's device already holds: the key
was made over one set of admins and the room's policy now names
another. That covers a removal, a demotion, a step-down and a promotion
alike, and a change that landed while the app was closed. The admin
whose key sorts first starts the new ceremony, asking nobody, after any
share rotation the same change owes; the rotated key's announcement is
vouched for and signed unasked; the removed admin's device has already
let go. Run by the governance follow-through and the sweep, and offered
by hand in the settings, which say when the admins have changed since
the key was made.

Two admins who start a rotation at once end in one ceremony on every
device: each keeps the one whose session id sorts first and ends the
other out loud. A proposal for a generation a device already has is
dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-22 02:09:01 +02:00
1 parent 6b59282ebe
commit 8bc7ab3e33
9 files changed
+280

No files matched your search

@@ -781,4 +781,5 @@
<string name="not_yet_on_a_relay">Not yet on a relay</string>
<string name="send_reply_again">Send again</string>
<string name="sent_again">Sent again</string>
<string name="the_admins_have_changed_since_this_key_was_made">The group's admins have changed since this key was made. It changes on its own once an admin's device starts a new ceremony, or you can rotate it now.</string>
</resources>