From 2ac20de00d0535dcb2a0d327f73c0b61fbbe4749 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 18 Nov 2026 11:15:24 +0000 Subject: keys: signing through an ssh-agent tested wherever tests run The test fails without OpenSSH on the machine testing, rather than passing without asking anything. Its directory is a scratch directory, removed when the test ends, the agent stopped before it. --- docs/federation-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/federation-tests.md b/docs/federation-tests.md index 6754060..ba182ad 100644 --- a/docs/federation-tests.md +++ b/docs/federation-tests.md @@ -31,7 +31,7 @@ built to: a stage is done when its tests are. * **Keys.** Ed25519 keys made from seeds, signing as `ssh-keygen -Y sign` does; a vector 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. + `ssh-keygen -Y verify` checks what it signed: the machine testing needs OpenSSH. * **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 -- cgit v1.3.1