mnovak
|
7e59a76ee3
|
[repo] Licence: CPAL-1.0 (LICENSE from the Domi template, every header and identifier; 0.2.0 and earlier stay MPL-2.0)
|
2026-11-23 00:19:19 +01:00 |
|
mnovak
|
7f733102bf
|
[control] Start and resolver (QC nits): the live tree goes through the same rules as an apply before control writes it to the engines, and a guard frees an edge name lookup's entry and thread on every way out, a panic included
|
2026-11-22 19:04:47 +01:00 |
|
mnovak
|
d249bcf9f2
|
[control] UI socket: with [ui] socket control also serves the API on a 0660 Unix socket and trusts the proof only there; a socket upstream is refused unless it is the admin host on control's own socket; probes under Caddy reach it too
|
2026-11-10 21:06:56 +01:00 |
|
mnovak
|
84c1c81906
|
[core] Unix upstreams, tests first: unix:/path reaches both engines (edge address, Caddy dial), the path is strict, forward-auth never goes to a socket (red: not parsed yet)
|
2026-11-10 21:02:41 +01:00 |
|
mnovak
|
ffffa62999
|
[core] Proxy socket: compile option proxy_socket gives both engines a 0660 Unix socket for the front proxy (edge in its config, Caddy a third server with trusted_proxies_unix); listeners change only with a restart
|
2026-11-10 20:59:57 +01:00 |
|
mnovak
|
0213021bb1
|
[control] Fix round 4: a device change during an engine switch is never skipped silently (devices_problem until the serving engine is told), and every switch ends by telling the engine that serves, also after going back
|
2026-11-08 12:48:57 +01:00 |
|
mnovak
|
4d87537a76
|
[control] Fix round 3: revocations never wait for an apply (files and edge at once; under Caddy the reload is left to the end of a running trial), confirmed before the deadline is claimed, the guard marks a trial expired only after a verified load and retries, caddy-revert clears a stale deadline when Pingora serves
|
2026-11-08 12:28:35 +01:00 |
|
mnovak
|
23a283ece9
|
[control] Fix round 2: Caddy rereads its files on every load and the served certificate is checked, Caddy trials get a deadline outside control (caddy-guard, caddy-revert), the watch under Caddy judges upstreams as edge does, a reload of Caddy during the watch is noticed and device changes wait for the apply, stricter root key scan, IPv4-mapped trusted proxies
|
2026-11-08 12:04:13 +01:00 |
|
mnovak
|
b24ffdf9db
|
[control] Design review: Caddy differences per host in fallback_ready, active apply kind, hosts and watch end, capped device end date, CSR fingerprint for signing by hand, crash points exit without SIGABRT
|
2026-11-08 11:21:43 +01:00 |
|
mnovak
|
3bf5fa0e1a
|
[control] QC minors: device install links open a page and download on POST (never listed), approve and install failures show on the request and the CLI waits, PBKDF2 floor, private pki dirs or an error, trusted_proxies for a proxy in front, a placeholder keeps the device allow list from being empty (Caddy refuses that)
|
2026-11-08 11:02:50 +01:00 |
|
mnovak
|
e84eb1ba74
|
[control] Fix round 1: changes apply while Caddy serves (admin socket, watch through Caddy), revocations that fail are errors and catch up, proof only on the forward-auth UI host, root keys found by content, intermediates checked before install, stale SNI cleared before each handshake
|
2026-11-08 10:49:31 +01:00 |
|
mnovak
|
9933f55242
|
[control] Mark's UI decisions: Remote-Name shown with the proof, [ui] logout_url for Sign out, openssl signing files for the manual intermediate step, engine.not_ready, server sentences for the eight generic codes
|
2026-11-07 23:48:43 +01:00 |
|
mnovak
|
aed5fbfcff
|
[control] Overview for the UI: who is looking (viewer) and the underlying pause reason, so the UI offers the right action
|
2026-11-07 23:44:25 +01:00 |
|
mnovak
|
f9dd2247f8
|
[control] Dev mode: a throw-away Domi root signs the first intermediate at start, so tls = "domi" works for any name; --ui-dir serves a built UI
|
2026-11-07 23:24:45 +01:00 |
|
mnovak
|
6237e721d6
|
[control] Test hooks: IANITOR_TEST_CRASH_AT and IANITOR_TEST_FAIL_WRITE only with the default test-hooks feature; a --no-default-features build has neither
|
2026-11-07 23:23:51 +01:00 |
|
mnovak
|
c18ae154ad
|
[control] Domi CA and UI sign-in: intermediate renewal by CSR with manual offline signing, domi host certificates, device requests approved by code, one-time PKCS#12 installs, revocation; Remote-User trusted only with edge's per-boot proof
|
2026-11-07 23:21:49 +01:00 |
|
mnovak
|
211b851c3e
|
[control] Tests first: Domi CA flows through the API (offline-signed intermediate, domi host chains, device approval by code, one-time install, revocation, no root key) and UI sign-in that refuses a forged Remote-User (red)
|
2026-11-07 23:11:05 +01:00 |
|
mnovak
|
afc3477b5c
|
[control] Atomic writes: a temporary name unique per write (pid, counter, random), so two writers of one file never collide; same for edge's epoch floor
|
2026-11-07 19:57:06 +01:00 |
|
mnovak
|
17f26f94a3
|
[control] Files retry: only in the apply worker under the lock, reloads edge to what it writes, drops only the journal of the apply that caused the pause; swallowed aborts and pauses logged; CLI owner check before creating the state dir
|
2026-11-07 19:39:49 +01:00 |
|
mnovak
|
7d3af00720
|
[control] Share and token fixes: settle the epoch before minting, mint in its own task so a dropped client frees its key, token checks off the async threads, CLI refuses to run as another user than the state dir's owner
|
2026-11-07 19:20:05 +01:00 |
|
mnovak
|
dd10557b87
|
[control] Pause fixes: Restore waits until an unsaved pause is on disk, unwritable config files pause with a way out, a failed promote at start starts paused, a revert that cannot see edge is not reverted
|
2026-11-07 19:17:16 +01:00 |
|
mnovak
|
f382fe2f76
|
[control] API fixes: atomic Idempotency-Key reservation, no echo of odd field names or path parameters, askpass answers only password prompts, file protocol not forced, token test split on the known prefix, serialisation test without second-resolution times
|
2026-11-07 18:57:54 +01:00 |
|
mnovak
|
4448527b16
|
[control] Store and recovery fixes: cross-process token lock, revert keeps its journal until done, epoch and deny list never roll back, journal errors propagate, lost confirm reloads edge, trial hash checked
|
2026-11-07 18:51:58 +01:00 |
|
mnovak
|
c5380c65a6
|
[control] Recovery: record the outcome before clearing the journal; a failed revert pauses changes until a Restore, and a restart never loads the unverified head
|
2026-11-07 18:26:03 +01:00 |
|
mnovak
|
2c06efead1
|
[control] Dev mode: throw-away CA and certificates for three dev hosts; push step skipped without a remote
|
2026-11-07 18:23:41 +01:00 |
|
mnovak
|
aa0f66b5ac
|
[control] Phase 2 control plane: routes repo via git, journaled apply with trial/watch/revert, undo and restore, push with retry, share links, API tokens, REST API with OpenAPI, --dev
|
2026-11-07 18:17:06 +01:00 |
|
mnovak
|
c1abe88688
|
[repo] Workspace: cargo workspace, MPL-2.0 license, control and web placeholders
|
2026-11-07 14:31:04 +01:00 |
|