Commit Graph

30 Commits

Author SHA1 Message Date
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 e12c25b85d [tests] Lint on Linux: the Unix client before the test module, a Target type for the fuzz table, is_multiple_of; rustfmt 1.100 layout of core::pki 2026-11-18 17:33:24 +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 d74079c66d [core] Unix upstreams: unix:/path parses strictly into a socket upstream; edge proxies and health-checks it in plain HTTP over the socket, Caddy dials unix/<path> 2026-11-10 21:04:24 +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 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 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 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 2026-11-07 22:46:07 +01:00
mnovak 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 2026-11-07 22:41:29 +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 7863202e3a [core] Share paths: invisible characters (default-ignorable code points, combining marks) do not hide a dot-only segment 2026-11-07 19:57:06 +01:00
mnovak 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 2026-11-07 19:40:49 +01:00
mnovak 421800ec18 [core] Format: rustfmt on the URL redaction tests 2026-11-07 19:22:40 +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 54574702ea [core] Format: rustfmt on the path and redaction changes 2026-11-07 18:57:53 +01:00
mnovak 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 2026-11-07 18:53:42 +01:00
mnovak 7c81945771 [core] Time: RFC 3339 and long dates from Unix seconds 2026-11-07 17:47:42 +01:00
mnovak 94ba18d38b [core] Share links and repo layout: HMAC tokens with epoch, prefix check, exact hosts/<hostname>.toml, error codes; edge config v2 2026-11-07 17:32:44 +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 60aee5d78a [core] Schema: reject wildcard header names, cap file size and upstreams, require <hostname>.toml 2026-11-07 15:44:09 +01:00
mnovak 58d0397875 [core] Tests first: wildcard headers, file name, size and upstream caps, identity stripping (red) 2026-11-07 15:42:25 +01:00
mnovak c50fcd5a5a [core] Compilers: TLS server name for IP upstreams is the IP literal 2026-11-07 15:09:41 +01:00
mnovak a5823ba33d [core] Compilers: Pingora runtime config and Caddy JSON, golden files 2026-11-07 14:39:34 +01:00
mnovak ff087a14dd [core] Schema: host file model and validation with typed errors 2026-11-07 14:36:35 +01:00
mnovak 9176cc63a4 [core] Schema: tests first for validation and compiler determinism (red: 37+11 failing) 2026-11-07 14:34:33 +01:00
mnovak c1abe88688 [repo] Workspace: cargo workspace, MPL-2.0 license, control and web placeholders 2026-11-07 14:31:04 +01:00