docs(oidc): synchronize Run 106 OCI env gate failure in project and operator documentation

This commit is contained in:
victorsteele428 committed 2026-11-23 17:49:36 +00:00
1 parent 9dc2aa4b27
commit fa5917f184
9 files changed
+43

No files matched your search

+2
View File
@@ -81,3 +81,5 @@ Future feature additions need an evidence-backed status update here, an exact de
- **LIVE NOT VERIFIED / BLOCKED:** real `auth.vib.tools` issuer and `account.vib.tools` callback TLS/Host, source-built signed image artifacts, monitored production release, vaulted master key/IAM_OWNER/PAT, encrypted DB backup/restore/rollback, real Admin Console, MFA/passkeys/SMTP and two-app SSO/federated logout. No new CI or live checks in this phase.
- **OUT OF SCOPE:** source and workflows, registry/images, production infra/DNS/SSL, users, credentials, releases and tags unchanged.
- **GO/NO-GO: NO-GO** until independently approved P0 release, key/backup and HTTPS/cutover gates. [Complete operator preflight](P05-OIDC-09.md); [exact 13 phase scopes](../notes/P05-OIDC-09.md).
**P05-OIDC-10 2026-11-23 OCI imported Login provenance status:** [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) Job #222 **COMPLETED FAILURE** on `6ba004808ef47c8856c1a7906faaf7ee807d15a6`. SOURCE+CI VERIFIED: unchanged upstream Login/PNPM lock, Node22 Bookworm/Node24 Alpine pinned index, 12/12 provenance tamper negatives, root frozen 1121 packages and Next16.4.6 standalone build, temporary entrypoint 644→755, source-labeled OCI image ID, nonnetwork entrypoint probe and cleanup. CI FAILED at `IMAGE_SECRET_ENV_KEY` (exact env key not logged), so final image attestation and partial SPDX artifacts NOT EXECUTED. Loose unanchored PAT rule could match standard PATH — **hypothesis only**; next A01 requires separate approval. No registry release, production DNS/TLS/Console/MFA/SSO or signed SBOM verified. [A10 operator details](P05-OIDC-10.md).
+4
View File
@@ -196,3 +196,7 @@ Approved baseline `fb5d6c5690b030608ddb393dc2cacb68605a9b07`; pre-source Scope L
## P05-OIDC-09 — documentation-only production preflight, release NO-GO (2026-11-23)
Approved baseline `d3ee3fa4de62463c53d5213c532d097278f928c6`, Scope Lock first `e30b288fc19922e92b64f538af4c00a910654212`. One **read-only source and accepted CI** audit of image/provenance, issuer/Host/forwarded/h2c, Login+Account OIDC, master key/IAM_OWNER/PAT, encrypted PostgreSQL recovery, Admin Console/MFA/SSO and monitoring; **no source/workflow/CI/DNS/VPS/secret/deployment change or test**. [Run #105](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/105) static synthetic security contract 48/48 negative cases PASS and [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) imported custom Login V2 browser OIDC disposable SUCCESS preserved. No Account OCI Dockerfile in tree, Account npm lockfile exists, dev backend images tag-only, Login Dockerfile base tag-only, temporary Login CI image removed. Production live TLS, actual trusted proxy/Console/keys/PG restore and signed image release NOT VERIFIED. **Production GO/NO-GO = NO-GO/BLOCKED.** One read-only preflight report [P05-OIDC-09.md](P05-OIDC-09.md) / [notes source matrix and 13 independently approvable Scope Locks](../notes/P05-OIDC-09.md). First candidate separate **P05-OIDC-10** disposable Login OCI provenance gate; no authorization implied.
## P05-OIDC-10 — single CI pinned imported Login build; final provenance env gate FAIL (2026-11-23)
Approved baseline `f06773b39322f14b7bae48850574c1243420e7ec`, scope-first note commit `539c7d019d6b238e2214afcbfb59423ed7294175`. Narrow source exact five paths (new `tests/ci/login_image/{provenance.py,provenance-lock.json}`, opt-in `build.sh`, new `.gitea/workflows/p05-login-provenance.yml`, scope note); all prior imported source, package locks, dev/production deployment and existing workflow unchanged. **One** [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) / Job #222 `COMPLETED FAILURE`, source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: checkout, pinned import source Git SHA, 12/12 in-memory negative, frozen PNPM install, Nx/Next standalone, immutable base digest, temporary entrypoint 0755 and source-labeled disposable OCI local image ID/probe PASS. Builder digest OS/arch/index PASS. OCI environment-key validator `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` **FAIL**; actual key unknown, probable broad PAT substring issue (PATH) but NOT confirmed. Partial source/base SPDX and unsigned JSON attestation **NOT GENERATED**, no production SBOM/signed release. `always()` original exact builder/image/context cleanup SUCCESS, Gitea runner job cleanup observed. No rerun/source patch after failure. Next separately approved `P05-OIDC-10-A01` source-write ONLY `tests/ci/login_image/provenance.py` safe env name diagnostics and secure segment matching, then one independent CI. Original Run #99 custom Login browser OIDC and Run #105 48/48 static synthetic PASS unaffected. [Forensic report](../notes/P05-OIDC-10.md), [operator ledger](P05-OIDC-10.md).
+4
View File
@@ -170,3 +170,7 @@ The checked-in `deployment/production-contract/compose.ci.yaml` contains only `s
## P05-OIDC-09 — operator safe release preflight (no setup performed)
**Neither** `deployment/docker/compose.backend.dev.yaml` (localhost HTTP/first-admin/test PAT) **nor** `deployment/production-contract/compose.ci.yaml` (`synthetic.invalid`, zero replicas, placeholder secrets) is a production deployment file. Do not use either with production `docker compose up`/Coolify. Existing real-browser Run #99 and synthetic security Run #105 are CI acceptances, **not public HTTPS or encrypted backup proof**. Before any external domain/production configuration, separately approve immutable attested OCI build, exact 32-byte stable ZITADEL key protected by vault/offline escrow, distinct IAM_LOGIN_CLIENT versus IAM_OWNER break-glass, matching encrypted PostgreSQL backup and isolated restore, private-network zero exposed backend ports, HTTPS trusted edge (Host/Forwarded/h2c/callback), Console recovery, actual secure cookie/PKCE session/rollbacks and operational alerts. Register only exact `https://account.vib.tools/api/auth/callback/zitadel` and verify real issuer `https://auth.vib.tools` under its own authorized live phase. Current exact dependency order and STOP conditions: [P05-OIDC-09 operator preflight](P05-OIDC-09.md). No real secrets or DNS were inspected here.
## P05-OIDC-10 — provenance workflow is disposable, not a production installer
New manual `.gitea/workflows/p05-login-provenance.yml` and `tests/ci/login_image/provenance-lock.json` pin public Node22/Node24 OCI base indexes and original imported Login source Git tree; opt-in `ZITPLANE_PROVENANCE_CI=1` retains existing Run #99/default builder mode. Source `6ba004808ef47c8856c1a7906faaf7ee807d15a6` [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) confirmed a frozen 1121-package PNPM install, Next standalone and local digest-pinned nonroot OCI entrypoint probe with 12 security negatives PASS, but final env-key policy FAIL `IMAGE_SECRET_ENV_KEY`, blocking the ephemeral partial material SBOM/unsigned attestation. Builder/image/context and job owned resources were cleaned. Do not execute the new script on a production VPS, publish its local image, use unsigned material SPDX as complete OS/dependency SBOM or perform tag/release. After separately approved safe A01 validator acceptance and later Account OCI work, registry publication and real HTTPS need their own authorizations. [Full report](P05-OIDC-10.md).
+4
View File
@@ -129,3 +129,7 @@ Historical [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) `S
## P05-OIDC-09 — interpreting accepted synthetic CI without misdiagnosing production
If the product is not reachable on proposed `auth.vib.tools`/`account.vib.tools`, **do not assume** Gitea [Run #105](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/105) created DNS records, certificates, a running ZITADEL or user. It validated only `docker compose config` against a **non-deployable** zero-replica fixture; 48/48 invalid cases rejected as designed. [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) did perform real imported Login browser OIDC **only on disposable private localhost CI**; its temporary custom image was cleaned. For live incidents, verify only in a separately approved production scope: signed image identity/base, current security scan, actual TLS/issuer, Host+forwarded rewriting, h2c Console, OIDC callback/cookies, secret expiry, IAM_OWNER break-glass and encrypted matching-key backup. **Do not reset the master key, delete named volumes, flip global LoginV2 or alter production DNS as an exploratory check.** Full STOP/rollback matrix and separate phase plan in [P05-OIDC-09](P05-OIDC-09.md).
## P05-OIDC-10 — pinned OCI build succeeds but final image secret-env guard rejects it
Single [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106), tested `6ba004808ef47c8856c1a7906faaf7ee807d15a6`, built immutable source/pinned base temporary imported Login image and verified executable `0755` entrypoint + nonroot probe, but emitted `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` after builder image index match, **before** `materials.spdx.json` and unsigned attestation were written. **Actual environment variable name is UNKNOWN** because logs intentionally avoid raw image/env output. Existing regex checks unanchored `PAT` substring, which can also match harmless `PATH`, but do not assume it without evidence. Never bypass the guard, dump `docker inspect` or expose secret env values. Next A01 (needs separate approval) can log only known safe key names/classes and use strict segment-aware PAT/TOKEN/SECRET matching, with explicit PATH acceptance and actual credential-key rejection fixtures. The `always()` cleanup PASS removed run-owned builder, app image and context; runner removed its temporary container/volumes/network. Original accepted Run #99/105 unaffected; no production deployment; [operator report](P05-OIDC-10.md).