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
@@ -203,3 +203,7 @@ Actual [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) confir
|
||||
`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 SPDX 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.
|
||||
|
||||
## P05-OIDC-10-A01 — finite OCI environment-key functions (source only)
|
||||
|
||||
Only `tests/ci/login_image/provenance.py` changed at candidate SHA `4452a61b0f5a0892399060fd7569231a564bce02`: `SAFE_OCI_ENV_KEYS` is a fixed set of known benign Node/OCI image ENV names (PATH/NODE_VERSION/YARN_VERSION and exact upstream runtime keys). `SENSITIVE_OCI_ENV_SEGMENTS` is an underscore-separated **complete-token** set of AUTH/SECRET/TOKEN/PAT/MASTERKEY/PASSWORD/PRIVATE/KEY/DB and related credentials. `classify_oci_env_key()` maps arbitrary input **only to SAFE/SENSITIVE/UNKNOWN/INVALID**, not its value. `diagnose_oci_image_env()` logs known-safe whitelisted key names and fixed generic error classes, plus legacy PATH matcher evidence **only if verified in a real inspected OCI image**. `validate_image()` fails closed for sensitive, unknown, bad-format, duplicates, non-production NODE_ENV, existing unsafe user/labels/entrypoint/platform and image ID. The 12 original fixture definitions remain; `negative_cases()` now adds 9 sensitive-key + 5 malformed/unknown/duplicate/development-mode rejects (=14) and one benign PATH positive. No value printing, no arbitrary name output, no new network/API operations. **Run #108 currently QUEUED**, so these are SOURCE VERIFIED, NOT CI VERIFIED; actual previous rejected key remains UNKNOWN until runner executes [Run #108](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/108). No builder, workflow, CI pins or app edits; full details `notes/P05-OIDC-10-A01.md`.
|
||||
Reference in new issue
Block a user