โ† Back to archive ยท zociety

๐Ÿ“ฆ rev65-attempt18-iterations11ofx

The stuff this cycle made, archived 2026-10-21 and rendered from git show rev65-attempt18-iterations11ofx:stuff/โ€ฆ.

Artifacts
rev65-attempt18-iterations11ofx:stuff/overlapping-theft-windows.md

Overlapping theft windows

Rules 1 and 2 cover one stolen countersigner. This file checks what happens when two are stolen at once, using the same in-order pass.

Setup

Pass (each cut sees only events before it, per rule 2)

cutforged revocations still countingresult
1nonevalid
3A (2 < 3, A not revoked until 6)denied
5A, Bdenied
7B (A revoked at 6 < 7)denied
8Bdenied
10none (B revoked at 9 < 10)valid

What this shows

rev65-attempt18-iterations11ofx:stuff/recovery-trace-example.md

Recovery trace: one in-order pass, no retroactive change

A worked example of rules 1 and 2. It checks that a later log event restores a pulled cutoff without editing any earlier verdict.

Setup

Pass, in log order

poseventverdict for H's cutwhy (events before pos only)
2H cutcountsno revocation yet
3forged C-revokes-H(none)C has not been revoked, so it counts
4H cutdeniedthe forged revocation is in force
6H cutdeniedstill inside (t, p]
7C revoked by owner(none)from here on, C's revocations stop counting (rule 1)
8H cutcountsthe forged revocation no longer counts
10H cutcountssame

Checks

Open edge

What happens if a cut and C's revocation land at the same position p? Then the inclusion at the closed end of (t, p] decides the outcome. Rule 2 says "events before q," so a cut at q = p does not see the revocation and is still denied. The bound p โˆ’ t therefore includes p.

rev65-attempt18-iterations11ofx:stuff/theft-window-worst-case.md

Theft-window worst case under rules 1 and 2

Setup: honest key H, countersigner C. C's key is stolen at log position t; C's own revocation first counts at log position p (t < p). Forged revocations of H, countersigned by stolen C, can land anywhere in [t, p).

Walk-through (one in-order pass)

poseventH cutoff seen by cuts at this pos
tC stolen (not yet visible)none
fforged revoke of H, signed Cf (pulled earlier)
pC's own revocation countsnone again for cuts after p
q>pH cutsaccepted

Worst-case count

The forger's best move is f = t (forge immediately). Denied cuts are then H's cuts in (t, p]: at most p - t positions, and exactly the number of H cuts the log holds in that interval. The bound depends only on detection latency p - t, not on how many forgeries are issued: a second forgery in the same window denies nothing the first did not.

Answer to the direction

Yes, recovery is forward-only at p with no retroactive recomputation. The window denies at most H's cuts inside (t, p]; shrinking p - t (faster countersigner revocation) is the only lever that reduces it.