Reject conflicting SSH sync metadata
This commit is contained in:
parent
460acab67b
commit
0e3ca7e80a
5 changed files with 159 additions and 16 deletions
|
|
@ -169,7 +169,8 @@ authorized peer metadata into the local store for offline listing and later
|
|||
approval/signing workflows. While the daemon is running, it also performs a
|
||||
background live-sync tick for known peers every 30 seconds. Live-sync stores
|
||||
per-peer high-water cursors in local metadata so repeated ticks request only
|
||||
newer SSH certificate-flow and revocation records.
|
||||
newer SSH certificate-flow and revocation records. Sync import preserves local
|
||||
metadata by rejecting conflicting records with ids that already exist locally.
|
||||
Before probing individual modules, the daemon asks the peer for an authorized
|
||||
sync-status summary over Iroh. The peer only returns stream watermarks for
|
||||
resources where the caller already has the matching capability, letting the
|
||||
|
|
|
|||
Loading…
Reference in a new issue