code wiki / _hdl_build / nx_fw_signed_robust_gate.nx
nx_fw_signed_robust_gate.nx
buildroot/runtime/_hdl_build/nx_fw_signed_robust_gate.nx
about
nx_fw_signed_robust_gate.nx -- proves the fusion: signature-gated A/B + factory never-brick.
T0 signed-clean-flash : a signed capsule flashes + commits to the inactive bank -> SR_OK + selectable + flipped
F1 forged-active-fallback : a FORGED image planted in the ACTIVE bank is NOT selected; -> selectable via signed factory
sr_select falls back to a signature-valid image (the headline)
F2 double-fault-factory : both banks dead -> the signed immutable factory -> selectable
N1 all-bad-teeth : both banks + the factory all forged/garbage -> NOT selectable (honest)
N2 forged-source-rejected : sr_safe_flash refuses to even WRITE a forged source -> SR_REJECTED, banks intact
GREEN only if all five hold. ed25519 signs are minimized (auth + forged signed ONCE, copied per
scenario). Evidence -> knowledge/status/fw_signed_robust_gate.log.
Sovereign: imports nx_fw_signed_robust (-> nx_fw_capsule -> nx_ed25519) + nx_framed_append + nx_syscalls. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_fw_signed_robust.nxnx_framed_append.nxnx_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
| 17 | const SRG_LOG: *u8 = "knowledge/status/fw_signed_robust_gate.log" |
| 18 | const SRG_PAY: *u8 = "NISHI-fw-signed-robust-payload" |
functions
| 20 | func srg_len(s: *u8) -> i64 { var i: i64 = 0; while s[i] != 0 as u8 { i = i + 1 } return i } called by 1: main |
| 21 | func srg_garbage(path: *u8) -> i64 |
| 26 | func srg_row(name: *u8, pass: i64) -> i64 |
| 39 | func main() -> i64 |