feat: rotating a group's shares without a member it removed (frost-share-refresh, Phase 9)

A removal takes a member out of the room, not out of the key: their share
still helps sign. After an admin removes a member who holds a live share,
the room screen offers to rotate without them -- a second act, never
folded into the removal, since it needs every remaining holder.
ShareRefreshManager.proposeWithout withholds them for good (RETIRED); the
refusals say when that would leave fewer than t holders (the group could
not sign at all) or not a majority (remove fewer at a time).

Tested in the ritual harness: in a 2-of-3, the other two sign at
generation 1 and the removed member's old share signs nothing with a new
one. jvmTest 1195/1195, compileDebugKotlinAndroid, audits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-19 23:36:48 +02:00
1 parent 51615992ee
commit c4fe4c9c26
8 files changed
+202 -3

No files matched your search

@@ -111,6 +111,10 @@
<string name="group_disbanded">This group was disbanded. Nothing more can be sent into it, and nobody can rejoin.</string>
<string name="disband_group_explainer">Ends the group for everyone. Nobody can rejoin; a new conversation is a new group.</string>
<string name="member_removal_requested">Removal sent; it takes effect once a relay accepts it</string>
<string name="rotate_shares_without_title">Rotate shares without them?</string>
<string name="rotate_shares_without_body">They are out of the room, but their share of the group key still helps sign until the shares are rotated without them. Rotating asks every remaining member to take part. Shares held before the rotation stop working once every device has deleted them.</string>
<string name="rotate_shares">Rotate shares</string>
<string name="share_rotation_requested">Share rotation proposed; every remaining member is asked to take part</string>
<string name="library">Library</string>
<string name="lightning_invoice">Lightning invoice</string>
<string name="open_in_a_wallet_app">Open in a wallet app</string>