[repo] NixOS: flake with the release build (test hooks off) and the web UI, services.ianitor module (edge, control, caddy-fallback, engine-select, per-boot UI proof, polkit for exactly two units), four VM tests, deploy/test-access.sh
This commit is contained in:
@@ -508,3 +508,34 @@ written above.
|
||||
`share.not_found`, `share.replaces`, `share.password_long`, `share.too_many`,
|
||||
`request.in_progress`, `control.files_unwritten`, `token.not_found`, `token.name`,
|
||||
`token.expiry`, `file.*`, `site.*` (problems in `ianitor.toml`).
|
||||
|
||||
## 7. Phase 3: the deferred items as built
|
||||
|
||||
Recorded by the Phase 3 implementation (branch `phase-3`); docs/api.md has the calls.
|
||||
|
||||
- **G7** (share links under Caddy): off for v1 (Mark, Q4). Minting is refused with
|
||||
`409 share.engine_caddy` while Caddy serves, `overview.site.share_links_available` is false and
|
||||
the engine popover, share dialog and Settings say so. Visitors fail closed (normal sign-in).
|
||||
- **G12**: the token dialog keeps "Copy token" as the accepted 4th click (Mark); the POST answers
|
||||
well under a second. Tokens never reach storage, URLs or logs (tested in the smoke test).
|
||||
- **G13**: device install is the accepted 4th click.
|
||||
- **G14**: edge's per-boot proof header on the admin host; control trusts `Remote-User` (actor)
|
||||
and `Remote-Name` (shown) only with it; a forged `Remote-User` is `401 ui.no_proof`.
|
||||
`overview.viewer {name, via}` and `overview.site.auth_logout_url` are new.
|
||||
- **G15**: `POST /certs/devices/{id}/bundle` → one-time `GET /device-bundles/{token}` (10 min,
|
||||
one use, PKCS#12 with a one-time password, `qr_svg` for `format = "qr"`); through edge on the
|
||||
admin host, as a share link when that host has share links on.
|
||||
- **G18**: `GET/POST /engine` (shape in docs/api.md). Differences from §1.9: no `fallback_ready
|
||||
{compared, matched}` (control cannot run the differential suite at runtime; it reports
|
||||
`{built_at, current}`), and **changes are paused while Caddy serves** (`paused_reason =
|
||||
"engine.caddy"`).
|
||||
- **G19**: the UI shows "No websockets" only when off, and "Open to anyone" for `auth = none` (Q11).
|
||||
- **PKI** (§1.7, §1.8, §3.6): built as drawn, with two differences while Custos lacks the
|
||||
operations: device requests are approved on the server (`pki approve <code>`, the UI shows the
|
||||
command and the code; `message_code = "pki.waiting.manual"`), and renewals are signed by hand
|
||||
with openssl (`approve_command`, `file_base`, `GET /pki-requests/{id}/ext`). Requests carry
|
||||
`problem` (not `error`) for why they failed. Renewal requests stay open 7 days, device requests
|
||||
10 minutes.
|
||||
- New host field `device_certs` (bool): only Domi device certificates on the allow list get in.
|
||||
- `overview.paused_reason` gives the underlying code (`apply.needs_attention`,
|
||||
`control.files_unwritten`, `repo.*`, `engine.caddy`) next to `paused {code: "control.paused"}`.
|
||||
|
||||
Reference in New Issue
Block a user