From b8bf806ca361408198630485e8627bfb6549d385 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 16 Nov 2026 03:10:43 +0000 Subject: federation: a proposal refused where its text isn't its place's hash A proposal was taken whatever its text, yet named by the hash of its version: one builder took a proposal whose text hashes elsewhere, another refused it, and their nodes parted. It is refused: the hash asks nothing of what a version may say, so every node asks it alike. --- docs/federation.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs/federation.md') diff --git a/docs/federation.md b/docs/federation.md index 985e6b2..a21eed8 100644 --- a/docs/federation.md +++ b/docs/federation.md @@ -178,9 +178,10 @@ A version is none if its bytes aren't the JCS encoding (RFC 8785) of the JSON th as, so that nothing in it is spelled two ways and no key is there twice; if a field is missing or more; if its bytes don't hash to its place; or if it breaks any of the above. It can't pass, and a change writing it as a version is refused. A proposal is taken -whatever its text, its party and version read from its place and its envelope: whether -it is a version is asked where it is written as one, so that nodes knowing more of what -a version may say don't part from those knowing less. +whatever its text, but for its hash, which must be its place's: its party and version +are read from its place and its envelope, and whether it is a version is asked where it +is written as one, so that nodes knowing more of what a version may say don't part from +those knowing less. The federation's own paths are its number's, not the rules': the same in every version. They hold their values directly, and never nest. @@ -615,6 +616,7 @@ What an attacker does, and what happens. *Unit*: the judging, with crafted chang | 59 | A version replacing every listed party's keys | The lists still count, each its party's until it writes another | unit | | 60 | A version written without the key sets or node lists it sets, or those written by another change, or numbered otherwise | Refused | unit | | 61 | A version written again late, at a history from before the next, by a member that was away | Taken: it is one every node took | unit | +| 62 | A proposal whose text doesn't hash to its place | Refused | unit | ## Roads not taken -- cgit v1.3.1