code wiki / _hdl_build / nx_cap_provision_gate.nx
nx_cap_provision_gate.nx
buildroot/runtime/_hdl_build/nx_cap_provision_gate.nx
about
nx_cap_provision_gate.nx -- proves the FAIL-CLOSED cap-secret check. NEGATIVE CONTROLS are load-
bearing: an absent keyfile, a too-short keyfile, AND a keyfile that still contains the baked
placeholder must ALL read provisioned=NO (0) -- the three ways a server could silently fall back to
a forgeable secret. Only a present, long-enough, non-placeholder key reads YES (1). Fixtures written
to /tmp (survives WSL cold-boot; identical bytes each run = deterministic). verdict GREEN iff 5/5.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_cap_provision.nxnx_seg_store.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 10 | func cpg_row(name: *u8, ok: i64) -> i64 |
| 17 | func main(argc: i64, argv: *i64) -> i64 |