b9ab5006a8
[fabrica] Release: the release pipeline on a v* tag (version check, web tests, fabrica notes, the shots, approval, publish under SHA256SUMS signed by domi-release) and the highlights of 0.1.0
mnovak2026-11-09 17:42:29 +01:00
7a32eeb411
[web] Shots: the release's screenshots of the built UI against the demo control plane, in headless Edge over DevTools (aula-*.png, aula.json)
mnovak2026-11-09 17:42:06 +01:00
c2c6454302
[tests] Release screenshots, tests first: the demo control plane draws every shot from invented data only (.test names, documentation addresses)
mnovak2026-11-09 17:42:05 +01:00
d035fd3165
[docs] Release: notes and screenshots of the web UI on the Gitea release of a v* tag, under the signed SHA256SUMS (docs/release.md)
mnovak2026-11-09 17:42:05 +01:00
7b906de79f
[repo] Merge: feature/fabrica-app (Ianitor declares itself to Fabrica: app.yaml and the deploy pipeline, PR #6)
mnovak2026-11-08 22:49:42 +01:00
6ba3fa4b17
[deploy] Fabrica: app.yaml with a server part and the deploy pipeline for the ianitor flake input, so Fabrica's Apps screen shows Ianitor
feature/fabrica-app
mnovak2026-11-08 22:48:59 +01:00
5df34bfae6
[repo] Merge: Phase 3 web UI, Domi CA, NixOS module (PR #5)
mnovak2026-11-08 12:57:57 +01:00
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
mnovak2026-11-08 12:48:57 +01:00
c45dafa2a3
[tests] Tests first, fix round 4: a revocation during a switch to Caddy, and during a failed switch away from Caddy, is in force when the switch ends (red)
mnovak2026-11-08 12:40:24 +01:00
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
mnovak2026-11-08 12:28:35 +01:00
09b8313a04
[tests] Tests first, fix round 3: a revocation during a watch is in force at once (Pingora) or when the apply ends (Caddy), a device revoked under Caddy is refused, caddy-revert with Pingora serving clears a stale deadline (red)
mnovak2026-11-08 12:21:36 +01:00
057abbc954
[web] Design re-check: the engine chip closes its popover, Show details on every pause, popover grammar, share links off while Caddy serves, renewal copy
mnovak2026-11-08 12:04:14 +01:00
457aea86ca
[repo] NixOS and docs: ianitor-caddy-guard with caddy-fallback, caddy-revert after every control stop, admin socket only for control, Caddy trial deadline in the engine-switch VM test, trusted proxies stay off beside Caddy
mnovak2026-11-08 12:04:14 +01:00
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
mnovak2026-11-08 12:04:13 +01:00
ba3a060b2e
[tests] Tests first, fix round 2: same caddy.json reload rereads certificates, forward-auth hosts kept under Caddy as under edge, crash mid-trial under Caddy, Caddy reloaded during the watch, watching crash point, caddy-revert after a crash, TLS 1.2 device after a bad ALPN (red)
mnovak2026-11-08 11:48:10 +01:00
503916492d
[web] Design review: last row's menu not clipped, Hostname focused after loading, popover closes on Esc and outside click, phone engine chip in the top bar, paused and needs-attention copy with Restore in the panel, change bar offers and countdown, focus after share and kept, fingerprint check when signing by hand, draft kept through sign-in
mnovak2026-11-08 11:21:44 +01:00
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
mnovak2026-11-08 11:21:43 +01:00
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)
mnovak2026-11-08 11:02:50 +01:00
bc336d1188
[repo] NixOS and docs: Caddy admin socket for changes under Caddy, polkit start/stop only, edge never stops restarting, openssl in the VM tests, beside-Caddy without secrets in argv, pinned Ianitor rev, X-Served-By trial marker
mnovak2026-11-08 10:49:42 +01:00
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
mnovak2026-11-08 10:49:31 +01:00
0749119f19
[tests] Tests first, fix round 1: proof only on the forward-auth UI host, revocations that cannot be written, root key files by content, intermediates that cannot issue, stale SNI after a failed or resumed handshake, edge re-reads the allow list, changes apply while Caddy serves, Hostname focus (red)
mnovak2026-11-08 10:26:31 +01:00
e2a777882c
[control] Root-key refusal test: a control that does not refuse is killed after 20 s instead of hanging the suite
mnovak2026-11-08 00:10:26 +01:00
b85c38f615
[repo] VM tests: no clash with the driver's log name (the drivers of all four build)
mnovak2026-11-08 00:06:37 +01:00
ca9bf3fdd4
[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
mnovak2026-11-08 00:04:13 +01:00
a61dfd854f
[web] Decisions applied: openssl signing by hand with the .ext file, Sign out link, renew soon 30 days before a device certificate ends
mnovak2026-11-07 23:48:44 +01:00
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
mnovak2026-11-07 23:48:43 +01:00
3e326e85a0
[web] The web UI: hosts, add/edit with apply progress, undo, history and restore, share links, engine switch, certificates and device installs, signing by hand, settings and tokens; smoke test counts every §4 flow's clicks
mnovak2026-11-07 23:44:27 +01:00
aed5fbfcff
[control] Overview for the UI: who is looking (viewer) and the underlying pause reason, so the UI offers the right action
mnovak2026-11-07 23:44:25 +01:00
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
mnovak2026-11-07 23:24:45 +01:00
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
mnovak2026-11-07 23:23:51 +01:00
12886a1d31
[control] Engine switch: POST /engine through a Units abstraction (systemctl via polkit, a fake in tests); engine file first, back to the old engine if the new one does not serve; changes and share links wait while Caddy serves
mnovak2026-11-07 23:22:59 +01:00
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
mnovak2026-11-07 23:21:49 +01:00
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)
mnovak2026-11-07 23:11:05 +01:00
a5190acc3b
[edge] Device certificates as Caddy does them: no certificate on a device host fails the handshake, a Host other than the SNI name is 421; diff corpus gains six device cases
mnovak2026-11-07 22:55:37 +01:00
3d8f524d00
[edge] Device certificates: mTLS on hosts with device_certs only (asked per SNI), chain to the Domi CA bundle and the allow list in the handshake, checked again per request; 403 without one
mnovak2026-11-07 22:49:32 +01:00
4054427b62
[edge] Tests first: a Domi device cert is accepted for mTLS, a self-signed one with the same subject, an unlisted one and none are not (red)
mnovak2026-11-07 22:46:08 +01:00
18da3f5d5a
[core] Device certificates: device_certs host field; edge config v3 and Caddy client_authentication with a CA bundle and an allow list, 403 without a certificate
mnovak2026-11-07 22:46:07 +01:00
dc23bfe842
[core] Domi CA: offline root (10 y, pathLen 1), intermediate from a CSR (1 y, pathLen 0), server (90 d) and device (1 y) leaves, encrypted keys, match codes
mnovak2026-11-07 22:41:29 +01:00
cde0c3ea3b
[core] Tests first: the Domi CA chains to the root, a leaf cannot sign, expired and wrong-name certs are rejected (red)
mnovak2026-11-07 22:40:56 +01:00
7cb5715580
[docs] Custos ticket: the CSR-signing operation with match-code approval that Custos does not have yet
mnovak2026-11-07 22:40:38 +01:00
cb04bff74e
[repo] Merge: Mark's decisions on the open points (PR #4)
mnovak2026-11-07 22:18:05 +01:00
24009414de
[docs] Decisions: runtime engine switch, share-link password and deny list, accepted 4th clicks, murex palette, LE staging in phase 3
docs/decisions
mnovak2026-11-07 22:17:52 +01:00
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
mnovak2026-11-07 19:57:06 +01:00
7863202e3a
[core] Share paths: invisible characters (default-ignorable code points, combining marks) do not hide a dot-only segment
mnovak2026-11-07 19:57:06 +01:00
443d7457d2
[docs] Roadmap: Phase 2 status and handover
mnovak2026-11-07 19:48:29 +01:00
432ae0f803
[tests] Ports and Caddy: test ports come from outside the ephemeral range, and a Caddy start that does not come up is retried
mnovak2026-11-07 19:45:18 +01:00
83b7b3b7d6
[edge] Epoch floor: an unreadable or corrupt floor refuses share links instead of resetting to 0; directory fsync'ed after the write
mnovak2026-11-07 19:41:53 +01:00
cbb3e41ca7
[core] Share paths: judge dot segments on the NFKC form, so look-alike dots and spaces inside names pass; refuse slash look-alikes and broken escapes like %+f
mnovak2026-11-07 19:40:49 +01:00
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
mnovak2026-11-07 19:39:49 +01:00
e28b084a19
[control] Tests first: a request during a Restore's watch never writes the unverified head or drops its journal (red)
mnovak2026-11-07 19:37:04 +01:00
421800ec18
[core] Format: rustfmt on the URL redaction tests
mnovak2026-11-07 19:22:40 +01:00
85edfa7128
[repo] Hook self-test: keep its source files next to the work dir by absolute path and remove them first, so a run leaves nothing behind
mnovak2026-11-07 19:22:32 +01:00
60fb4b63ee
[edge] Share fixes: revocation epoch floor kept in edge's own state across restarts, every share=ish1. parameter stripped (also encoded)
mnovak2026-11-07 19:22:03 +01:00
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
mnovak2026-11-07 19:20:05 +01:00
43918943da
[core] Share paths and errors: decode once and refuse invalid UTF-8 and any NFKC look-alike of path structure, dots before any escape; hide everything before the last @ of a URL
mnovak2026-11-07 19:18:17 +01:00
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
mnovak2026-11-07 19:17:16 +01:00
339882ec96
[control] Tests first: a Restore never drops an unsaved pause, a revert that cannot see edge is not called reverted (red)
mnovak2026-11-07 19:14:29 +01:00
00f8dffc6a
[tests] Ports: never hand out the same free port twice in one process, so parallel tests cannot reach each other's servers
mnovak2026-11-07 19:05:13 +01:00
99b2a3a1a5
[docs] API: what errors may repeat, Idempotency-Key in progress and limits, where a minted URL is held
mnovak2026-11-07 18:57:54 +01:00
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
mnovak2026-11-07 18:57:54 +01:00
54574702ea
[core] Format: rustfmt on the path and redaction changes
mnovak2026-11-07 18:57:53 +01:00
2b66729f1b
[core] Share paths and errors: refuse overlong UTF-8, %u, look-alike dots and slashes and trimmed dot segments; never repeat URL credentials in an error
mnovak2026-11-07 18:53:42 +01:00
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
mnovak2026-11-07 18:51:58 +01:00
b9e14c6aee
[control] Tests first: CLI token races, unsaved pause keeps the journal, lost share records never lower the epoch or shrink the deny list (red)
mnovak2026-11-07 18:47:00 +01:00
98dad246d3
[edge] Share fixes: per-network password limit and no eviction, revocation epoch never goes down, stray share tokens stripped on every host, admin socket bound in a private directory
mnovak2026-11-07 18:44:55 +01:00
fee35830d1
[edge] Tests first: junk ids cannot flush the password throttle, a lower revocation epoch is refused (red)
mnovak2026-11-07 18:42:03 +01:00
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
mnovak2026-11-07 18:26:03 +01:00
7cc92ec42d
[docs] API: curl examples end to end on loopback, §8.4 reload answer with load numbers, UI contract deviations
mnovak2026-11-07 18:23:42 +01:00
2c06efead1
[control] Dev mode: throw-away CA and certificates for three dev hosts; push step skipped without a remote
mnovak2026-11-07 18:23:41 +01:00
56982fc6b7
[diff] Apply sequence: control applies six steps, Ianitor and Caddy answer the corpus identically after each
mnovak2026-11-07 18:18:07 +01:00
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
mnovak2026-11-07 18:17:06 +01:00
56209cc595
[control] Tests first: health-check revert, crash at every apply stage, serialised applies, undo/restore, push, share links, token rejection and leaks, hostile bodies (red)
mnovak2026-11-07 18:16:51 +01:00
74d1bc02da
[edge] Options: credentials directory override, so tests can run several edges in one process
mnovak2026-11-07 18:16:14 +01:00
6ce1fe9d2b
[edge] Reload and share links: in-process config swap with self-reverting trials, admin socket with health and certificate status, share-link cookies, visitor pages and throttle
mnovak2026-11-07 17:49:53 +01:00
c0ed9c65c5
[edge] Tests first: reload under load, refused and trial configs, admin status, share-link visits and prefix escapes (red)
mnovak2026-11-07 17:47:43 +01:00
7c81945771
[core] Time: RFC 3339 and long dates from Unix seconds
mnovak2026-11-07 17:47:42 +01:00