From 45cdc3c64bedb6eefe4a3645afbde82e62f8112a Mon Sep 17 00:00:00 2001 From: slopulus Date: Tue, 17 Nov 2026 20:01:42 +0100 Subject: 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. --- docs/federation-tests.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/federation-tests.md') 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). -- cgit v1.3.1