diff options
| author | tv <tv@krebsco.de> | 2026-11-12 21:58:34 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-12 21:58:34 +0000 |
| commit | 6bb6f99d744c7ef9aa18af33e0784f3d2536cbd8 (patch) | |
| tree | cfcdd553ccb04fa561871d574d4f9d5475c19207 /src/api/document.rs | |
| parent | f95719a58800bedd5ee021d8bdfac30dc23956ef (diff) | |
federation: only changes Automerge itself writes
Automerge 0.12.0 applies changes no honest node writes: one that
lists an actor none of its operations names, one whose first
operation is numbered below its dependencies' or at 2^32 - 1. It then
gives back another change than the one it was given, saves a document
that doesn't load, or panics (measured with Automerge alone). A party
that crafts one stops the honest nodes, where a forked actor only
parts them.
So a change is refused before Automerge sees it unless its bytes are
the ones Automerge encodes for it, every other actor it names has
changes in its history, and its first operation is numbered one after
the highest of its dependencies. An attack with its test, in the
first stage.
Diffstat (limited to 'src/api/document.rs')
0 files changed, 0 insertions, 0 deletions
