From bc665e2ad7e107baaf7d7b5d388ef228fc29e527 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 16 Nov 2026 17:50:16 +0000 Subject: federation: keys, node IDs and signatures, each spelled one way A key is `ssh-ed25519`, one space, and its base64, padded and canonical, with no comment, its 32 bytes an Ed25519 public key; a node ID is spelled as continuum spells it, its key one too; and a signature is the SSHSIG blob of version 1 for the namespace `continuum-federation`, hashed with `sha512`, its reserved field empty, its key the event's, in base64, padded and canonical, unarmored, checked by continuum's strict check (`access::sshsig::verify_blob`) and read back to what `ssh-keygen` writes around it. `keys::sign` makes one, for clients and tests. Tests show each spelled otherwise taken for none. --- src/federation/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/federation/mod.rs') diff --git a/src/federation/mod.rs b/src/federation/mod.rs index 6485c8a..9c49e66 100644 --- a/src/federation/mod.rs +++ b/src/federation/mod.rs @@ -6,4 +6,5 @@ #![allow(dead_code)] pub(crate) mod jcs; +pub(crate) mod keys; pub(crate) mod store; -- cgit v1.3.1