code wiki / _hdl_build / nx_stage_secret.nx
nx_stage_secret.nx
buildroot/runtime/_hdl_build/nx_stage_secret.nx
about
nx_stage_secret.nx -- sovereign helper: write a value to a file (0600), no trailing newline. Used to stage
a plaintext secret into /tmp/nxsecret.in for `nx_vault seal` (the documented vault ingest path), without a
shell. argv: [1]=path [2]=value. (For real secrets the operator stages out-of-band; this exists so the
seal->open->arm round-trip can be proven end-to-end with sovereign organs only.) license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 7 | func ss_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: main |
| 9 | func main(argc: i64, argv: *i64) -> i64 |