Files
alzeo/docs
Hasan BasbunarandClaude Opus 5.5 aecb05286d pair.py: name the other box of a pair, its key on standard input; docs/pair.md
The entry of a pair is set up with one command: `ssh spark2 cat .config/qwen38/api-key | python3
pair.py add spark2 http://spark2:30001`. The key is read on standard input (or asked without echo),
never on a command line, and kept in ~/.config/qwen38/pair/<name>.key, mode 600 in a folder of mode
700; pair.json names the file, never the key. Before writing, the other box is asked its list with
that key, as the proxy asks it: a key it refuses, or a box that does not answer, gets nothing written
(--no-check writes it anyway). Names and addresses are judged by the proxy's own _pair_parse, so what
pair.py writes is what the proxy takes. `remove` drops a peer and its key, the last one leaving the
box alone; `status` says what each peer serves now, never a key; `name` sets this box's name.

tests/test_pair_tool.py: 8 tests against a fake peer. docs/pair.md says what a client sees, the
security of the link and the limits; the README's table points at it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 21:38:40 +01:00
..
2026-10-23 06:32:38 +02:00