feat(lightning): the key ceremony asks once, and ends itself when it stalls

Joining is now the only approval. Every check in the other two rounds --
a contribution against its commitment, everyone's transcript hash, the
public shares making one key -- is the device's, so after joining it sends
its contributions and confirms by itself. Asking a person to tap through
them only let a member who joined and never came back hold the ceremony
open for everybody.

A ceremony that has not finished 24 hours after its proposal is abandoned
by the first participant's device to notice, checked each minute beside
the group nodes, naming who had not taken their part. The deadline runs
from the proposal's own timestamp, so every device agrees on it, and a
proposal read after its deadline is not filed. Any participant can also
abandon a ceremony from its screen. Before this a ceremony nobody finished
blocked the room for good, since a room runs one at a time.

The group screen's Lightning row test now covers both sides of the row
waiting for an onchain wallet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-10-27 10:11:57 +02:00
1 parent 83289aa4d0
commit 84984ca887
14 files changed
+379 -39

No files matched your search

@@ -579,7 +579,9 @@
<string name="join_the_ceremony">Join the ceremony</string>
<string name="send_your_contributions">Send your contributions</string>
<string name="confirm_what_you_saw">Confirm what you saw</string>
<string name="joining_publishes_commitments">Joining publishes commitments to your contributions. Nothing secret leaves this device.</string>
<string name="joining_publishes_commitments">Joining publishes commitments to your contributions. Your device then takes the other two steps by itself, checking each one, and sends your contributions only encrypted to the members who will hold them.</string>
<string name="if_it_hasn_t_finished_s_hours_after">If it hasn't finished %1$s hours after it was proposed, it is abandoned and the group can start another.</string>
<string name="couldn_t_abandon_the_ceremony">Couldn't abandon the ceremony.</string>
<string name="sending_contributions_encrypts_each">Each contribution is encrypted to the members who will hold it. Your randomness starts shaping the key here.</string>
<string name="confirming_publishes_your_public_share">Confirming publishes your public share and a hash of every commitment you saw, so the group can check it agrees.</string>
<string name="s_of_3_steps">%1$s of 3 steps</string>