diff options
| author | slopulus <slop@lassul.us> | 2026-11-17 20:01:42 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 21:09:39 +0100 |
| commit | 45cdc3c64bedb6eefe4a3645afbde82e62f8112a (patch) | |
| tree | f7d54c26e7cbf7149c12196782f87cd9cc5f3b13 /docs/federation-tests.md | |
| parent | bcda4d67483239691b045c5b978047f017f3b9e3 (diff) | |
federation.md, federation-tests.md: ecdsa-sha2-nistp256 keys, their signature low-S
A key is `ssh-ed25519` or `ecdsa-sha2-nistp256`, spelled alike; an ECDSA signature is
over SHA-256, its `s` low and `r` and `s` SSH's shortest mpints, so that it is spelled
one way. The vectors and the agent test, among the harness's.
Diffstat (limited to 'docs/federation-tests.md')
| -rw-r--r-- | docs/federation-tests.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/federation-tests.md b/docs/federation-tests.md index d7e4a43..6754060 100644 --- a/docs/federation-tests.md +++ b/docs/federation-tests.md @@ -29,7 +29,9 @@ built to: a stage is done when its tests are. ## The harness * **Keys.** Ed25519 keys made from seeds, signing as `ssh-keygen -Y sign` does; a vector - checks one signature against `ssh-keygen` itself. + checks one signature against `ssh-keygen` itself. An ECDSA key `ssh-keygen` made, and + events it signed with it, are vectors; a test signs through a running `ssh-agent`, and + `ssh-keygen -Y verify` checks what it signed, where OpenSSH is installed. * **Events.** A builder for every kind (writes, key sets, node lists, proposals, votes, version events, checkpoints, roots and forks), each from a party, a key and its dependencies, encoded and signed as the design says; and for what is none: bytes that @@ -115,7 +117,8 @@ Vectors for: an event and its ID; an event whose value holds names JCS sorts by UTF-16 units otherwise than by their bytes (one from U+E000 to U+FFFF beside one beyond U+FFFF); events at federation 1's sizes and just past them; a signature, a version and its hash, a checkpoint and its ID, the genesis change of a federation's root and of a -fork's, and a snapshot after a checkpoint. A vector that changes is a change of the +fork's, a snapshot after a checkpoint, and a version naming an ECDSA key, with a write +and a key set `ssh-keygen` signed with it. A vector that changes is a change of the federation, which takes its next number ([`federation.md`](federation.md), Changing the federation). |
