aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/access.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 17:50:16 +0000
committertv <tv@krebsco.de>2026-11-16 19:07:12 +0100
commitbc665e2ad7e107baaf7d7b5d388ef228fc29e527 (patch)
tree48c68dee50ed4a9116f02f2a760aea1ed759a088 /src/api/access.rs
parent602fee6edc1e8ecd35655d9a3b12c861de0428d4 (diff)
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.
Diffstat (limited to 'src/api/access.rs')
0 files changed, 0 insertions, 0 deletions