docs(oidc): record queued A01 Run 108 and strict env-key source behavior across project and operator docs
This commit is contained in:
1 parent
34fab24043
commit
6f811e81b1
9 files changed
+36
No files matched your search
@@ -83,3 +83,5 @@ Future feature additions need an evidence-backed status update here, an exact de
|
||||
- **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).
|
||||
|
||||
**P05-OIDC-10-A01 status (2026-11-24):** SOURCE VERIFIED only: scope-first validator-only safe PATH/PAT env token-boundary, known benign key allowlist, fail-closed credential/unknown/duplicate/malformed/production-mode, original 12 + 14 new negative fixtures and PATH-positive defined. [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) Job #230 on `4452a61b0f5a0892399060fd7569231a564bce02` **QUEUED, no steps/log**, so all A01 CI build, negative, provenance/SPDX, nonroot/entrypoint and cleanup gates **NOT EXECUTED**; runner state UNKNOWN. Previous Run #106 failure remains factual; root-cause PATH collision source-verifiable but actual rejected runtime key unconfirmed. Run #99 disposable OIDC and Run #105 static synthetic contract remain accepted historical evidence, **not A01 pass**. Real signed registry release/public HTTPS/MFA/SSO still BLOCKED. Next A02 docs/read-only existing run scheduling/terminal checks requires approval.
|
||||
@@ -200,3 +200,7 @@ Approved baseline `d3ee3fa4de62463c53d5213c532d097278f928c6`, Scope Lock first `
|
||||
## 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).
|
||||
|
||||
## P05-OIDC-10-A01 — source-level OCI env-key RCA complete, CI still queued
|
||||
|
||||
Approved baseline `195568a8be978304a686c826cdcbf0ab0d36c6a6`, Scope Lock first `46e2897380b736b970a0b1de15a161c3600abcb6`. Exactly one source file `tests/ci/login_image/provenance.py` changed, CI-source SHA `4452a61b0f5a0892399060fd7569231a564bce02`, all imported source/workflow/build/OCI lock untouched. Old broad PAT regex matches PATH by code logic, but exact Run #106 offending key still **NOT CONFIRMED** by runtime. Validator accepts only finite benign ENV key names, rejects credential-segment/unknown/duplicate/malformed names, prints only known whitelisted names or fixed generic categories, preserves original 12 negative fixtures, adds 14 security negatives and a benign PATH positive. Pre-run source/security/diff audit PASS (2 exact paths; full tree required pagination). **ONE [Gitea Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) / Job #230 dispatched; workflow active, run/job QUEUED, not started, no steps or logs**. Runner online/labels/capacity UNKNOWN. Thus original+new tests, frozen Next/OCI build, partial unsigned SPDX+attestation, and cleanup **NOT EXECUTED**, not PASS or FAIL. No new run, rerun, source patch or production operations. **A01 CI acceptance PENDING/BLOCKED;** propose separately approved P05-OIDC-10-A02 read-only existing-run acceptance. [Forensic](../notes/P05-OIDC-10-A01.md), [operator report](P05-OIDC-10-A01.md).
|
||||
@@ -174,3 +174,7 @@ The checked-in `deployment/production-contract/compose.ci.yaml` contains only `s
|
||||
## 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).
|
||||
|
||||
## P05-OIDC-10-A01 — current CI-only environment guard acceptance is NOT READY
|
||||
|
||||
No new runtime/setup dependencies, package/lock changes, image publishing, production or DNS/TLS actions. `tests/ci/login_image/provenance.py` now has a source-verified benign PATH acceptance, strict credential segment checking, finite allowed environment key list and 14 new negative definitions in addition to preserved 12; old broad `PAT` source matcher falsely catches PATH in theory, but previous runtime failing key is still UNKNOWN. The sole authorized unchanged workflow dispatch [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) tested `4452a61b0f5a0892399060fd7569231a564bce02` and remains **QUEUED**, job #230 has not started. Do not claim an OCI image, temporary SBOM, unsigned attestation or cleanup was produced by A01; no steps executed. Only separately approved runner scheduling RCA/read-only acceptance may inspect existing run. Do not re-dispatch, start Docker services or deploy on Coolify. [A01 operator ledger](P05-OIDC-10-A01.md).
|
||||
@@ -133,3 +133,7 @@ If the product is not reachable on proposed `auth.vib.tools`/`account.vib.tools`
|
||||
## 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).
|
||||
|
||||
## P05-OIDC-10-A01 — distinguish PATH/PAT source collision from queued runner evidence
|
||||
|
||||
Original [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) `IMAGE_SECRET_ENV_KEY` was emitted by an unanchored regex containing `PAT`; this also matches benign `PATH` **by source logic**, but actual rejected variable name wasn't logged. New `provenance.py` at `4452a61b0f5a0892399060fd7569231a564bce02` uses finite benign OCI key allowlist, true credential whole-token segments, generic unknown class, no environment values or Docker inspect JSON logs. 12 original +14 extra synthetic negatives and PATH positive defined; no run acceptance yet because [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108) / Job #230 **QUEUED**, started_at unset, no job steps. Do NOT assume runner offline or that PATH was actually the rejected key; also do NOT bypass the guard or dump raw env. Read-only existing-run scheduling evidence is next P05-OIDC-10-A02 approval. No re-dispatch/retry or runner config change authorized; existing production release remains blocked.
|
||||
Reference in new issue
Block a user