Quick setup
Pick the two roles
The client sends the request. The host runs the handler and replies. For the local smoke test, open two POSIX-shell terminals in the built source checkout.
Create a local pair
In the first terminal, create two identities in a temporary directory:
bin="$PWD/target/debug/koel-relay"
scratch="$(mktemp -d)"
host_id="$("$bin" id "$scratch/host.key")"
client_id="$("$bin" id "$scratch/client.key")"
printf 'Client key path: %s\nHost endpoint ID: %s\n' \
"$scratch/client.key" "$host_id"
Keep this terminal open. Save the printed client key path and host ID for the second terminal.
Move to two devices
Generate and keep each private key on its device. Verify the public IDs in person or over an authenticated channel. Allowlist the client ID on the host, pin the host ID on the client and reuse the keys across runs.
Continue to Quick connect to start the listener and send an echo.