docs(oidc): synchronize P10 Run 106 fail-closed env gate in manifests and readmes

This commit is contained in:
victorsteele428 committed 2026-11-23 17:48:04 +00:00
1 parent 2119719394
commit 9dc2aa4b27
10 files changed
+18 -3

No files matched your search

+3 -1
View File
@@ -5,4 +5,6 @@
| [README.md](README.md) | Scope/ownership/privacy and manual CI usage | P05-OIDC-06 |
| [MINIFEST.md](MINIFEST.md) | Exact direct file register | P05-OIDC-06 |
| [build.sh](build.sh) | Disposable frozen imported build + local image packaging | P05-OIDC-06 |
| [cleanup.sh](cleanup.sh) | Always-run exact-labeled builder/image/temp context teardown | P05-OIDC-06 |
| [cleanup.sh](cleanup.sh) | Always-run exact-labeled builder/image/temp context teardown; reused unchanged in P05-OIDC-10 Run #106 SUCCESS cleanup | P05-OIDC-06 / P05-OIDC-10 |
| [provenance.py](provenance.py) | Safe Git/OCI pin validation, 12 negative cases, image env/security gate, partial SPDX/unsigned attestation planned; Run #106 final env gate FAILED | P05-OIDC-10 |
| [provenance-lock.json](provenance-lock.json) | Immutable imported Login source tree/blob plus pinned Node22 builder/Node24 runtime public OCI index identities | P05-OIDC-10 |
+2
View File
@@ -6,6 +6,8 @@ This directory is used solely by the manual Gitea P05-OIDC-06 workflow. It build
- `cleanup.sh`: used by the workflow `always()` step, **after** the existing OIDC cleanup; verify labels and remove only this run's builder/image/temp build context.
- The existing real browser acceptance harness remains the security authority; custom-image mode is explicit opt-in and uses separate Compose overlay.
**P05-OIDC-10 CI-only provenance addition:** `provenance-lock.json` pins the imported Git tree/PNPM lock/Dockerfile/entrypoint, public Docker Hub Node 22 Bookworm builder OCI index and Node 24 Alpine runtime OCI index, both linux/amd64. `provenance.py` validates source/OCI labels, nonroot image/entrypoint, 12 negative cases, and is designed to produce PARTIAL SPDX source/base materials and an UNSIGNED local attestation. The new manual `p05-login-provenance.yml` opts into this mode with `ZITPLANE_PROVENANCE_CI=1`; existing Run #99 workflow/default builder behavior is unchanged. **Actual [Run #106](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/106) / job #222 FAILURE**: Git tree, 12/12 negatives, PNPM frozen standalone and pinned OCI image build/probe PASS, but `IMAGE_SECRET_ENV_KEY` FAIL before attestation files. Possible bare `PAT` matched harmless `PATH` is **UNVERIFIED** because exact key not logged. Always-owned builder/image/context cleanup PASS. No registry/production work; future P05-OIDC-10-A01 validator-only approval required. Never treat partial material SPDX as complete dependency/OS SBOM or a production signature.
Update these helpers only in a separately approved source scope; maintain MINIFEST.md and never copy upstream source edits, credentials or CI output to Git.
**A01 accepted update (2026-11-23):** [Gitea Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) / Job #214 **SUCCESS** on tested source `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`. The upstream Git entrypoint stays `100644`; its temporary standalone copy measured `644` owner `0:0`. `build.sh` alone now checks mode/owner/no-symlink/shebang and changes that **temporary copy only** to `755`, checks built image executable under its default non-root user without network/secrets, then uses the existing custom Login/Chromium OIDC workflow. Four services/actual running source-built Login image/PKCE/state/nonce/Auth.js protected session/negative/logout and both cleanup systems PASS. The Run #98 OCI failure is historical; production HTTPS/MFA/SSO untested.