From fa5917f184a308b8950e488912ac46c924fb2de1 Mon Sep 17 00:00:00 2001 From: Md Nurnobi Date: Mon, 23 Nov 2026 17:49:36 +0000 Subject: [PATCH] docs(oidc): synchronize Run 106 OCI env gate failure in project and operator documentation --- docs/FEATURES-STATUS.md | 2 ++ docs/PHASES.md | 4 ++++ docs/SETUP-GUIDE.md | 4 ++++ docs/TROUBLESHOOTING.md | 4 ++++ project/CI-ARCHITECTURE.md | 6 ++++++ project/DEPENDENCY-SECURITY.md | 4 ++++ project/FILE-MAP.md | 9 +++++++++ project/FUNCTIONS.md | 6 ++++++ project/SETUP-AND-DEPENDENCIES.md | 4 ++++ 9 files changed, 43 insertions(+) diff --git a/docs/FEATURES-STATUS.md b/docs/FEATURES-STATUS.md index 006c6bd..d9e6f3c 100644 --- a/docs/FEATURES-STATUS.md +++ b/docs/FEATURES-STATUS.md @@ -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). diff --git a/docs/PHASES.md b/docs/PHASES.md index 1b98cf6..07cd009 100644 --- a/docs/PHASES.md +++ b/docs/PHASES.md @@ -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). diff --git a/docs/SETUP-GUIDE.md b/docs/SETUP-GUIDE.md index 70f7de7..8ace685 100644 --- a/docs/SETUP-GUIDE.md +++ b/docs/SETUP-GUIDE.md @@ -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). diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index 4c69086..597d826 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -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). diff --git a/project/CI-ARCHITECTURE.md b/project/CI-ARCHITECTURE.md index d219e93..210612c 100644 --- a/project/CI-ARCHITECTURE.md +++ b/project/CI-ARCHITECTURE.md @@ -216,3 +216,9 @@ The unchanged **manual-only** `.gitea/workflows/p05-production-contract-dry-run. ## P05-OIDC-09 — CI evidence versus unreleased production artifact boundary Read-only reviewed accepted [Run #105](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/105) job #221, source `daaa8b259a519ae0290ba28936ef2279b3a9172c`: `COMPLETED SUCCESS` **static** nondeliverable Compose `config --quiet`, normalized security policy and 48/48 negative fixture checks, manual-only resource-action safety, cleanup of owned runner job resources. There is no signed registry image, live issuer or Console/MFA/SSO proof from that workflow. Independent [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) source-built **temporary** custom Login image/Chromium OIDC and cleanup accepted; no image was retained as a production artifact. Historical [Run #89](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/89) accepted Login frozen PNPM/build/1219 units/then-current zero Moderate+ registry advisories; Account [Run #87](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/87) frozen npm build/security accepted. Fresh pre-release risk/advisory/SBOM/signature checks remain **BLOCKED**. Current six `.gitea/workflows/*.yml` are CI-specific; no signed/published production release workflow evidenced. Next individually approvable `P05-OIDC-10` is a **new separate CI-only** Login image provenance gate, not a replacement/rerun of accepted workflows. No new CI dispatched in P05-OIDC-09. Operator failure/rollback thresholds in `notes/P05-OIDC-09.md`. + +## P05-OIDC-10 — single-run CI imported Login OCI provenance gate, partial evidence + +New `.gitea/workflows/p05-login-provenance.yml` is **manual-only** with a pinned `node:24-alpine@sha256:116b800c…` task container, read-only SHA-pinned checkout, targeted `tests/ci/login_image/provenance.py` source/security and 12 mutation-negative assertions, opt-in existing `build.sh` for pinned Node22 Bookworm builder `sha256:e13726ca…` and temporary pinned Node24 Alpine runtime Dockerfile, an isolated no-network entrypoint probe and unchanged always `cleanup.sh`. Original Run #99 custom Login OIDC workflow, Run #105 static contract workflow, imported `auth/**` and dev Compose untouched. + +Exactly one [Gitea Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) Job #222 `COMPLETED FAILURE`, tested SHA `6ba004808ef47c8856c1a7906faaf7ee807d15a6`. Toolchain/checkout and 12/12 negatives PASS, Git immutable source tree and lock PASS, 1121 packages frozen root PNPM10.30.3 install and Next16.4.6 standalone/proto/client build PASS; nested Login package invokes its own hash-qualified PNPM10.28.2. Temporary 644→755 entrypoint PASS, pinned runtime OCI image `sha256:9ddaccf7f6e60e6d72d580de6b285df697d1404cc8f48e5d2719953a4ea69078` built and no-network executable probe PASS, builder linux/amd64 index PASS. `ZITPLANE_P10_FAIL_CLOSED_IMAGE_SECRET_ENV_KEY` **FAIL** before final source-to-image material SPDX-lite/unsigned attestation, so those files **NOT EXECUTED/EMITTED**. Env key unknown; plain regex `PAT` may match ordinary `PATH`, unverified hypothesis. `always()` run-owned builder/image/context cleanup PASS; Gitea runner-owned job container/two volumes/network removed. No CI rerun/post-run source edit. No registry publish/release/live services. Full gate **BLOCKED** pending separately approved P05-OIDC-10-A01 provenance.py-only safe key-boundary RCA. diff --git a/project/DEPENDENCY-SECURITY.md b/project/DEPENDENCY-SECURITY.md index 297b145..f99a864 100644 --- a/project/DEPENDENCY-SECURITY.md +++ b/project/DEPENDENCY-SECURITY.md @@ -95,3 +95,7 @@ Historical [Run #89](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/89) repo ## P05-OIDC-09 — historical advisories versus current release provenance (read-only) [Run #89](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/89) on the approved Login source graph verified pinned `pnpm@10.30.3` frozen install, 1219 upstream unit cases and at-that-time **zero Moderate/High/Critical production audit**. Account [Run #87](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/87) verified frozen npm build and then-current Account audit. `users/ui/package-lock.json` now **exists** in tracked repository. These results are **CI VERIFIED historical**, not proof of today/future third-party advisory status, actual production OCI image base/package CVEs or signed/SBOM provenance. Login Dockerfile `FROM node:24-alpine` and CI temporary builder `node:22-bookworm` are tag-based and not proven immutable; dev backend Go/Postgres/Traefik likewise reference tags. The custom Login Run #99 image was erased and not published as a digest. Release gates: immutable pinned OCI bases/dependencies, fresh reproducible source-to-image proof, package/container SCA at release, SBOM for each component, cryptographic signature and verification at deployment, retained roll-back digest; registry publish only by separate approval, no production keys in build. **P05-OIDC-09 changed no manifest, lockfile or runtime source, ran no CI.** Next recommended separate `P05-OIDC-10` Login OCI CI-only provenance gate. Full exact Scope Locks `notes/P05-OIDC-09.md`. + +## P05-OIDC-10 — provenance image build results and residual release blockers + +[Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6` confirmed imported source-tree and `pnpm-lock.yaml` blob hash integrity, pinned Node22 Bookworm builder/Node24 Alpine runtime index use, root PNPM10.30.3 frozen 1121 packages, Nx/Next16.4.6 standalone PASS, but nested Login package invokes hash-qualified PNPM10.28.2. Those are **historical CI source pins**, not a fresh global CVE scan or claim of exact bit-reproducible OCI output across independent builds. The temporary OCI image ID `sha256:9ddaccf7f6e60e6d72d580de6b285df697d1404cc8f48e5d2719953a4ea69078` and nonroot entrypoint probe PASS, yet final env key scan `IMAGE_SECRET_ENV_KEY` FAIL before unsigned partial SPDX/material provenance generation, so **full P10 acceptance blocked**. Actual key unknown; regex PAT vs PATH a hypothesis. Future genuine complete dependency+OS SBOM, BuildKit signed/cryptographically verified SLSA provenance, updated SCA, repeat-build determinism and immutable registry release are still independently unverified even if next A01 passes. No signing keys, registry push, production or DNS. diff --git a/project/FILE-MAP.md b/project/FILE-MAP.md index 81a84eb..2abb18e 100644 --- a/project/FILE-MAP.md +++ b/project/FILE-MAP.md @@ -257,3 +257,12 @@ Run #101 source `2ca1b4493bd47209d0c7eabf7453feaeb1f5174a`: Compose parse PASS, - Undeployable contract: `deployment/production-contract/{compose.ci.yaml,routing-policy.json}`, `tests/ci/production_contract/validate.py`, unchanged `.gitea/workflows/p05-production-contract-dry-run.yml`; [Run #105](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/105) static 48/48 negative cases only. - **New documentation-only** `notes/P05-OIDC-09.md` (scope-first release blockers/phases) and `docs/P05-OIDC-09.md` (operator checklist). No other application/CI/deployment source modified. - Exact 13 proposed narrow phase Scope Locks for OCI provenance, Account packaging, backend pin, signing, vault/recovery, backup, private runtime, HTTPS proxy, Console, live OIDC, MFA, second SaaS SSO and final release in `notes/P05-OIDC-09.md`. + +## P05-OIDC-10 — exact CI-only source paths and acceptance boundary + +- **NEW** `tests/ci/login_image/provenance-lock.json`: source-tree+file blob pins, upstream v4.20.4 revision claim and Node22-bookworm/Node24-alpine linux/amd64 OCI index digests. +- **NEW** `tests/ci/login_image/provenance.py`: safe git source/lock, OCI configuration labels, nonroot, secret-env key validation, 12 in-memory negatives, planned partial material SPDX/unsigned local provenance files. +- **NARROW existing** `tests/ci/login_image/build.sh`: `ZITPLANE_PROVENANCE_CI=1` opt-in for pinned builder and temporary Dockerfile `FROM @sha256` and extra labels; default Run #99 mode preserved. +- **NEW** `.gitea/workflows/p05-login-provenance.yml`: manual-only dedicated CI for pinned source/build, no registry or production, always unchanged run-owned cleanup. +- **NEW docs** `notes/P05-OIDC-10.md` pre-source Scope Lock+Run #106 ledger, `docs/P05-OIDC-10.md` operator report, relevant developer/README/MINIFEST/inventory updates. Source-tested `6ba004808ef47c8856c1a7906faaf7ee807d15a6`; no protected `auth/**`/`users/**`/`core/**`/`deployment/**` or pre-existing CI/workflow/lock edits. +- **Run #106** [terminal failure](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106): pinned image build/12 negatives PASS; environment key guard FAIL, actual key unknown; partial SPDX/attestation not written; cleanup PASS. P05-OIDC-10-A01 must modify only provenance.py if separately approved. diff --git a/project/FUNCTIONS.md b/project/FUNCTIONS.md index 514f03d..6650f5b 100644 --- a/project/FUNCTIONS.md +++ b/project/FUNCTIONS.md @@ -197,3 +197,9 @@ Actual [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) confir **Only source changed**: `tests/ci/production_contract/validate.py`, tested `daaa8b259a519ae0290ba28936ef2279b3a9172c`. `secret_target_class(source,target)` classifies known same-name vs exact `/run/secrets/` mounts; `safe_root_owner()` requires root 0 and `safe_readonly_mode()` permits exact 0444 default (decimal 292) if metadata supplied. `diagnose_normalized_service_grants()` prints only known service names, item indices and fixed `OBJECT`/`TARGET_CANONICAL_MOUNT`/`SOURCE_EXPECTED`/permissions safety classes, not values. `service_secret_refs()` now rejects unknown fields, wrong target, unsafe UID/GID/mode, duplicates and sources outside the six-symbolic-secret registry; `validate_compose()` compares **exact per-service count and source set**, not normalizer-dependent ordering. `negative_cases()` preserves 25 original, 4 runtime, 3 replica and 8 deploy malformed cases; adds **8 secret-grant negative cases** for missing, duplicated, extra known from wrong service, unknown source, wrong target, unexpected metadata, unsafe UID and world-writable mode, plus a canonical-target positive case. Exact expected error class is mandatory. **All checks executed and PASS in [Run #105](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/105)**: 48/48 negatives, full static positive and manual-only safety. Input raw JSON/env/secret strings never logged by new diagnostics. No source changes to production/login/Account/backend/workflow/Compose, and actual public HTTPS, secret custody/DB recovery, Console/MFA/SSO or deployment remain NOT TESTED. + +## P05-OIDC-10 — imported OCI provenance helpers (CI-only) + +`tests/ci/login_image/provenance.py` new stdlib functions `validate_lock`, `verify_source` (exact tracked `HEAD:auth/ui/v2` Git tree/source Dockerfile/entrypoint/PNPM lock), `pin_dockerfile` (only run-owned temporary Dockerfile FROM replacement), `expected_labels`, `validate_image` (image ID, linux/amd64, USER nextjs, exact entrypoint, source/base labels and allowed env keys), `verify_builder` (OCI base index/arch), `negative_cases` (6 lock tampering + 6 bad OCI image configurations) and `write_material_attestations` (partial source/base SPD​X metadata+unsigned JSON in temporary run context). `tests/ci/login_image/build.sh` default original Run #99 behavior remains; new `ZITPLANE_PROVENANCE_CI=1` source-verified pinned builder/runtime and `--verify-image` opt-in. No real secret values printed. + +[Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: `verify_source`, `negative_cases` 12/12, temporary `pin_dockerfile`, entrypoint fix, pinned image packaging and `verify_builder` **PASS**; `validate_image` **FAIL** at `IMAGE_SECRET_ENV_KEY`, before `write_material_attestations`. Its current unanchored `PAT` substring regex can also match `PATH`; actual offending key **UNKNOWN**. No attestation files. Next independent P05-OIDC-10-A01: ONLY this validator source to add value-free fixed key classification, retain secret rejection with token boundaries, plus PATH/true-PAT focused negatives; no other source edits. diff --git a/project/SETUP-AND-DEPENDENCIES.md b/project/SETUP-AND-DEPENDENCIES.md index 69e97dc..3cb4560 100644 --- a/project/SETUP-AND-DEPENDENCIES.md +++ b/project/SETUP-AND-DEPENDENCIES.md @@ -135,3 +135,7 @@ A03 retains **the exact existing manual workflow**: a temporary Gitea Node Alpin ## P05-OIDC-09 — actual installed-source prerequisites versus production release blockers The read-only source inventory verifies tracked Account npm **package-lock.json** (the older P04 discussion that Account lacks a lockfile predates P05 dependency remediation), `next@16.4.6`, `next-auth@5.0.0-beta.32` and locked Login `pnpm@10.30.3` at the root imported workspace. The nested Login package declares PNPM `10.28.2`; CI uses `10.30.3`, which was accepted at its historical source and must be reconciled as part of release provenance. Imported Login original Dockerfile `node:24-alpine` and temporary builder `node:22-bookworm` are mutable image **tags**; official ZITADEL Go `v4.20.4`, Postgres `17.10-alpine` and Traefik `v3.7.7` are version tags in dev Compose, NOT a vetted immutable production digest set. Historical Run #89 Login frozen build/audit and Run #99 disposable actual image/browse PASS, and Run #105 synthetic static contract 48/48 PASS, do **not** replace current per-artifact pinned OCI digest, SBOM, verified signature, vulnerability review, production secret/DB recovery or TLS proof. P05-OIDC-09 performs **no install, build, test, DNS query or deployment**, only source/docs verification. Future `P05-OIDC-10` CI-only provenance gate is a separate authorization, `notes/P05-OIDC-09.md`. + +## P05-OIDC-10 — pinned import build inputs and terminal CI-only outcome + +Public Docker Hub `node:22-bookworm` OCI index `sha256:e13726ca604184d7a91fcacab1fc09eefd642dc28e79ac34e85540dd93b78cfb` and `node:24-alpine` `sha256:116b800c3754b440ee0aa3ed2f20f5bf3d99a554bfd9adeea09ea8017f6e85f5` are pinned in `tests/ci/login_image/provenance-lock.json`; disposable Gitea CI pulled/used immutable references. Source `auth/ui/v2` Git tree `76683086acb5d4ccf3b2094f894e19a8aa0fafa9` and frozen lock blob verified. [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) source `6ba004808ef47c8856c1a7906faaf7ee807d15a6`: 4 PNPM workspace projects, 1121 locked packages, root PNPM `10.30.3` and nested hash-qualified Login `10.28.2` noted (different toolchains), Nx/proto/client/Login standalone build PASS and local OCI entrypoint/image PASS. Builder emits legacy `docker build` deprecation warning; actual production BuildKit/SBOM/signing still unverified. Security gate `IMAGE_SECRET_ENV_KEY` FAIL, preventing material manifest and final provenance acceptance; cleanup PASS. Images temporary, no registry publish, no production secret/endpoint. Next separately approved one-file A01; no local application test.