mirror of
https://github.com/saymrwulf/swisspost-evoting-go-poc.git
synced 2026-09-04 20:23:55 +00:00
The terminal systems-view half of the cockpit, fed by the SAME trace stream as the browser math view — no double-maintenance. - cockpit_tmux.go: spawns a tmux session with one pane per stakeholder (setup, CC0–CC3, electoral board, voting server, verifier, and an aggregate voters pane), each running `evote panelview`. The ceremony runs in the background, appending paced NDJSON events to a shared temp file the panes tail. Guards for missing tmux and for being run inside an existing tmux session. - panelview.go: a hidden subcommand each pane runs — follows the shared event file, filters to its stakeholder, and renders that party's operations as colored ASCII/Unicode math with elided live values. - Attribute setup-phase Schnorr challenges to the generating CC and verify-phase challenges to the verifier (trace.SetContext), so every pane gets its ops. Verified: panelview filters and renders correctly per role; a 9-pane tiled tmux session builds with the real pane commands. (Interactive attach needs a TTY, so the live attach is exercised when you run it.) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| elgamal | ||
| hash | ||
| kdf | ||
| math | ||
| mixnet | ||
| party | ||
| protocol | ||
| returncodes | ||
| serialize | ||
| symmetric | ||
| trace | ||
| transport | ||
| transportsec | ||
| verify | ||
| zkp | ||