aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/federation.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/federation.md b/docs/federation.md
index 750e0b0..a43dadc 100644
--- a/docs/federation.md
+++ b/docs/federation.md
@@ -125,9 +125,10 @@ Spread out:
(Changing the policy).
* **`sig`**: an SSH signature (`ssh-keygen -Y sign`, namespace `continuum-federation`)
over the event's bytes without `sig`: the SSHSIG blob of version 1, hashed with
- `sha512`, its key the event's `key`, in base64, padded and canonical, unarmored. It is
- checked as continuum checks a user's signature, strictly *(checked:
- `access::sshsig::verify_blob`)*.
+ `sha512`, its key the event's `key`, its reserved field empty, as `ssh-keygen` writes
+ it, in base64, padded and canonical, unarmored. It is checked as continuum checks a
+ user's signature, strictly *(checked: `access::sshsig::verify_blob`)*, which takes
+ `sha256` too, and any reserved field: the federation asks `sha512` and an empty one.
Three things no party signs, as their bytes need no signer, each without `party`, `key`
and `sig`: a version event (Changing the policy), and a federation's root and a fork's,