You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shielded-invite claim: persist a pending-claim record so single-note interrupted claims can recover deterministically #4275
#4204's claim-recovery hardening (post b6992a5dbc) requires two independent proofs before recovery reports an interrupted shielded-invite claim as successful: the nullifier-derived identity ID AND an on-chain MASTER auth key-hash match. Each proof alone is forgeable (chargeable-failure collision case; published-nullifier ID derivation), so this is correct.
Residual: single-note claims have a non-re-derivable identity ID — the builder pads to two actions with a RANDOM nullifier, and the ID derives over the published (padded) set. So for the most common invite shape, an interrupted claim (process death between broadcast and confirmation) cannot auto-reconcile: retry returns a terminal already-claimed state instead of recovering. The note is spent; resolution today is manual (reissue an invite).
Persist a local pending-claim record BEFORE broadcasting the identity-create transition:
the full transition (or enough to reconstruct: derived identity ID, padded nullifier set, key hashes, asset-lock proof reference)
written durably before broadcast; marked consumed on confirmed success; consulted by recovery FIRST
Recovery then completes deterministically from our own record — including single-note claims — rather than inferring from chain state. The two-proof predicate stays as the fallback for records lost to uninstall/restore.
Deliberate scope call (2026-08-03): invites are required for the mainnet release, but the interrupted-claim window is seconds wide and #4204's review momentum matters more; the two security fixes land now, this closes the remaining gap in its own reviewable PR.
Refs: #4204, the one_time_claim_evidence_tests module, operations.rs::recovered_identity_matches_claim.
Implemented — in #4313 (the shielded-invite PR this issue anticipated), not as a separate PR:
Durable pending-claim record, armed under a store-level claim admission before broadcast (arm_redrive_under_claim), so a single-note interrupted claim resumes deterministically instead of depending on the non-re-derivable padded-nullifier identity id.
Resume is bound to the stored transition (847f0a15): a resumed claim must match the stored keys and DIP-9 identity slot — a mismatch is a typed refusal, closing the record-adoption hole.
Total ordering vs destructive lifecycle: claims take a lease, clear/unregister install a barrier and refuse to purge an armed record while its claim is live (41cf07a3), and an in-flight claim renews its lease on a heartbeat so a long broadcast can't outlive its protection (6931c747).
Closing when #4313 merges (leaving open until then so the tracker reflects reality).
Activity
bfoss765 commentedon Aug 17, 2026
Implemented — in #4313 (the shielded-invite PR this issue anticipated), not as a separate PR:
arm_redrive_under_claim), so a single-note interrupted claim resumes deterministically instead of depending on the non-re-derivable padded-nullifier identity id.847f0a15): a resumed claim must match the stored keys and DIP-9 identity slot — a mismatch is a typed refusal, closing the record-adoption hole.clear/unregisterinstall a barrier and refuse to purge an armed record while its claim is live (41cf07a3), and an in-flight claim renews its lease on a heartbeat so a long broadcast can't outlive its protection (6931c747).Closing when #4313 merges (leaving open until then so the tracker reflects reality).