docs(audit): align source maps, security boundaries and CI coverage for P05-OIDC-07

This commit is contained in:
victorsteele428 committed 2026-11-23 11:25:25 +00:00
1 parent c476f0cd75
commit fd24d92df0
8 files changed
+43

No files matched your search

+4
View File
@@ -104,3 +104,7 @@ Run #98 on source `fcfa59e826c39b445faa1b5b26c47ce715d8c3d6` built an imported L
The imported upstream `auth/ui/v2/apps/login/scripts/entrypoint.sh` is tracked as Git mode `100644` with unchanged blob `2da2aca45348afeb7480323e02cf98902d479db3`. Its actual standalone build-context copy was **mode `644`, UID:GID `0:0`**, explaining Run #98's OCI direct-execution denial. A01 edits **only** the CI `tests/ci/login_image/build.sh`: verify copied regular file/no symlink/shebang/mode/owner, `chmod 0755` the run-owned temporary copy and verify the resulting image `/app/entrypoint.sh` is executable as the Dockerfile's default `nextjs` user without network/credentials/entrypoint execution. Upstream source/Dockerfile unchanged.
[Gitea Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99), Job #214, exact tested source `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`, **SUCCESS**: local image `zitplane-login-ci:99` ID `sha256:42fba458e25d3186c504ae4532fece489986a18ab5fdcf97e87b052c4866207f`; actual running `zitadel-login` matched image ID; 4 healthy private services, direct Host/issuer, official project/client/test-human, genuine Chromium custom Login V2 password+PKCE/state/nonce/Auth.js callback, protected Account session/API/page, negative checks and logout PASS. Original backend and new image/builder exact-owned cleanup PASS. Separate original-prebuilt Run #96 accepted independently. Production HTTPS/Console/MFA/passkeys/two-app SSO NOT TESTED. See `notes/P05-OIDC-06-A01.md`.
## P05-OIDC-07 — verified disposable CI vs external HTTPS acceptance
Run #99 job #214 SUCCESS on `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f` proves real custom-source Login container identity/health and Chromium password→PKCE/state/nonce→Auth.js protected session/API/negative/logout with exact-owned cleanup, under **isolated HTTP localhost**. It does **not** prove trusted TLS termination or certificate chain, public issuer equality, redirect registration, host/header spoof rejection, actual Secure/SameSite cookies, gRPC-Web Console, MFA, user recovery or multi-client SSO. Production contract proposes one `https://auth.vib.tools` issuer with Login prefix → private 3000 and all other API/Console paths → private h2c 8080, plus independent `https://account.vib.tools` Auth.js callback. Strictly fail closed on HTTP wildcard or untrusted forwarded Host. Contract is documentation only, not an untested deployment. See `notes/P05-OIDC-07.md`.