From 8523e9c67e375747147a0b05ec191ad81ce2e318 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 7 Nov 2026 22:35:21 +0100 Subject: signatures: changes signed by their node Every node signs the changes it commits with its node key, an Ed25519 signature over the change's hash, kept beside the document. One signature on an actor's latest change vouches for its earlier ones. Protocol data and paths listed in _continuum/access/signed are signed, and writes with ?signed=true. Auth plan M5. --- src/simtest/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/simtest') diff --git a/src/simtest/mod.rs b/src/simtest/mod.rs index a3001c8..5128d11 100644 --- a/src/simtest/mod.rs +++ b/src/simtest/mod.rs @@ -212,7 +212,8 @@ impl Sim { swarm_key: None, protocol_writers: HashSet::new(), first_users: Vec::new(), - node_key: None, + // Under the identity layer, its key signs as a node's does. + node_key: self.identity.then(|| Arc::new(sim_key(id))), token_lifetime: Duration::from_secs(3600), session_lifetime: Duration::from_secs(86400), cors_origins: Vec::new(), -- cgit v1.3.1