Commit Graph

25 Commits

Author SHA1 Message Date
mnovak d6d1f8d36d [core] domi-pki: pin v1.0.1 (CPAL-1.0; the same code as v1.0.0), NAR hash to come from the NixOS runner 2026-11-23 01:02:45 +01:00
mnovak aca9bd8d9f [tests] Fuzz: Cargo.lock follows the workspace version 0.2.0 2026-11-22 19:43:30 +01:00
mnovak 8efea92c01 [repo] Merge: main into phase-4 (Fabrica onboarding and 0.2.0, PRs #11 and #12)
# Conflicts:
#	.fabrica/artifex/release.yaml
#	docs/ROADMAP.md
#	docs/release.md
2026-11-22 19:34:22 +01:00
mnovak 6c11acdc6d [repo] Release: 0.2.0 2026-11-19 01:38:54 +01:00
mnovak ee50b3451f [repo] Merge: main into phase-4 (the Domi CA from domi-pki v1.0.0, PR #9; the disk rule, PR #8) 2026-11-18 17:28:53 +01:00
mnovak d4da521a91 [core] PKI: the Domi CA from the shared crate domi-pki v1.0.0 (same API, messages and key format) 2026-11-17 12:30:10 +01:00
mnovak 4692044099 [diff] Pair: ianitor-pair runs edge and two Caddys (all cores, GOMAXPROCS=2) on the same compiled routes for the conformance and load scripts 2026-11-10 21:19:44 +01:00
mnovak 08e24e5d40 [tests] Fuzz: cargo-fuzz targets for route files, header rules, share tokens, path_within and the CA's PEM/CSR parsing (tests/fuzz), a bounded run script that saves any crash as a hex regression, and every seed and saved crash replayed in cargo test 2026-11-10 21:17:29 +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 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 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 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 2026-11-07 22:55:37 +01:00
mnovak 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) 2026-11-07 22:46:08 +01:00
mnovak cde0c3ea3b [core] Tests first: the Domi CA chains to the root, a leaf cannot sign, expired and wrong-name certs are rejected (red) 2026-11-07 22:40:56 +01:00
mnovak 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 2026-11-07 19:18:17 +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 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) 2026-11-07 18:16:51 +01:00
mnovak 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 2026-11-07 17:49:53 +01:00
mnovak c0ed9c65c5 [edge] Tests first: reload under load, refused and trial configs, admin status, share-link visits and prefix escapes (red) 2026-11-07 17:47:43 +01:00
mnovak 73a9f3da45 [core] Tests first: share tokens, prefix escapes, repo layout, exact host path, error codes (red) 2026-11-07 17:32:09 +01:00
mnovak c14fb2dea6 [diff] Harness: 43-request corpus against Ianitor and Caddy, broken-compiler check 2026-11-07 15:02:09 +01:00
mnovak 17e1df8320 [edge] Proxy: Pingora data plane with SNI certs, forward-auth, header rules, health checks, ACME 2026-11-07 14:57:36 +01:00
mnovak a94a242c79 [tests] Testkit: test CA, echo and websocket upstreams, mock Authelia, clients 2026-11-07 14:48:05 +01:00
mnovak c1abe88688 [repo] Workspace: cargo workspace, MPL-2.0 license, control and web placeholders 2026-11-07 14:31:04 +01:00