diff options
| author | tv <tv@krebsco.de> | 2026-11-18 12:38:19 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-18 12:38:19 +0100 |
| commit | 257ad0391ff8eba437108e1885c45314e9fd5833 (patch) | |
| tree | 3098609e38125c0afb326efeb41a08d0045da3d4 /docs/guides/federation/building-on-the-api.md | |
| parent | cfe3dbaff24b5ae433b3203d69c7e9bceb4e1ccc (diff) | |
| parent | 55f36a960a90aedcb6e899ea963cc642fd630a82 (diff) | |
Merge branch 'ecdsa'
Diffstat (limited to 'docs/guides/federation/building-on-the-api.md')
| -rw-r--r-- | docs/guides/federation/building-on-the-api.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/guides/federation/building-on-the-api.md b/docs/guides/federation/building-on-the-api.md index 9f144be..4f37b91 100644 --- a/docs/guides/federation/building-on-the-api.md +++ b/docs/guides/federation/building-on-the-api.md @@ -41,11 +41,13 @@ sorts them: * `deps`: the heads it read (`heads` in `GET /events`), each as 64 lower-case hex digits, ascending, one at least. -* `key`: the key it signs with, `ssh-ed25519`, a space, the base64 of its blob, no - comment; one of the party's keys. +* `key`: the key it signs with, its type (`ssh-ed25519` or `ecdsa-sha2-nistp256`), a + space, the base64 of its blob, no comment; one of the party's keys. * `sig`: an SSH signature (`ssh-keygen -Y sign`, namespace `continuum-federation`, hashed with `sha512`) over the JCS bytes of the object without `sig`: the SSHSIG blob, its - reserved field empty, in base64, unarmored. + reserved field empty, in base64, unarmored. Of an ECDSA key, its `s` low, at most half + the curve's order: `ssh-keygen` makes a high one half the time, which no node takes; + sign again, or put the order less `s` in its place. * The value is any JSON with integers only, from −2⁵³ to 2⁵³; the event up to 256 KiB. Put its bytes as they are: |
