Repository navigation
fix(auth): bind defensive-delete state in op signatures - #157
Merged
Merged
Conversation
marcus-pousette
force-pushed
the
auth/op-authored-at-claims
branch
from
May 21, 2026 15:26
451ff04 to
523a530
Compare
marcus-pousette
changed the base branch from
auth/session-options-cleanup
to
main
May 21, 2026 15:26
marcus-pousette
marked this pull request as ready for review
May 21, 2026 15:31
marcus-pousette
force-pushed
the
auth/op-authored-at-claims
branch
from
July 11, 2026 20:14
0a731d9 to
7ac06a4
Compare
marcus-pousette
force-pushed
the
auth/op-authored-at-claims
branch
2 times, most recently
from
July 11, 2026 20:38
87b2ba2 to
ac53060
Compare
This was referenced Jul 11, 2026
marcus-pousette
force-pushed
the
auth/op-authored-at-claims
branch
from
July 12, 2026 12:18
ac53060 to
879801d
Compare
marcus-pousette
changed the base branch from
main
to
fix/sqlite-storage-known-state
July 12, 2026 12:18
marcus-pousette
force-pushed
the
auth/op-authored-at-claims
branch
from
July 13, 2026 14:07
879801d to
9fae7fa
Compare
marcus-pousette
force-pushed
the
fix/sqlite-storage-known-state
branch
from
July 13, 2026 14:07
28a8c38 to
c065a37
Compare
marcus-pousette
force-pushed
the
auth/op-authored-at-claims
branch
from
July 13, 2026 15:50
9fae7fa to
b2419be
Compare
marcus-pousette
force-pushed
the
auth/op-authored-at-claims
branch
from
August 19, 2026 08:52
b2419be to
dc6f43f
Compare
marcus-pousette
force-pushed
the
fix/sqlite-storage-known-state
branch
from
August 19, 2026 08:52
67c5db1 to
a46cb8c
Compare
marcus-pousette
changed the base branch from
fix/sqlite-storage-known-state
to
main
August 20, 2026 11:30
marcus-pousette
force-pushed
the
auth/op-authored-at-claims
branch
from
August 20, 2026 11:30
dc6f43f to
3e7d3bc
Compare
This was referenced Sep 2, 2026
Merged
marcus-pousette
force-pushed
the
auth/op-authored-at-claims
branch
from
September 3, 2026 14:39
f1783b6 to
0aae043
Compare
marcus-pousette
changed the base branch from
maintenance/remove-version-vector-legacy-serde
to
main
September 18, 2026 08:08
Antonov548
approved these changes
Sep 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #38.
Problem
A defensive delete's
knownStatedetermines whether unseen descendants are restored. It travelled with the operation but was not covered by its signature, so a relay could change or remove it without invalidating the signature.Before / after
Policy
knownStateThe shared codec comes from #217. Auth adds only its 1 MiB, 4,096-entry, and 32-byte replica-id limits. Verification uses copied exact bytes and decodes them only after the signature is valid.
Compatibility
The auth extension for Sync v0 is unreleased, so this revises the existing
treecrdt/op-sig/v1format in place. Sync v0, VersionVector v0, and the auth signing domain are independently versioned. Recreate old development signatures; the Sync envelope is unchanged.Verification
u64, strict Ed25519, and mutable-input coverage