nx_mgmt_session_mint_gate.nx
buildroot/runtime/nx_mgmt_session_mint_gate.nx
about
nx_mgmt_session_mint_gate.nx -- proves the session minter: a token minted by msm_mint_raw (loading ed_priv from a
real nx_uas key bundle) VALIDATES against the canonical nx_ncs_validate_token (the exact check the daemon runs),
resolves to the correct uid_hash, and FAILS closed on expiry / tamper / wrong-realm. The is_admin resolution is
proven separately by the live /api/services test (needs the NAS roles+index). license_tier: ORIGINAL expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_session_mint_lib.nxnx_user_account_store.nxnx_gate.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
| 9 | func mg_eqbytes(a: *u8, b: *u8, n: i64) -> i64 { var i: i64 = 0; while i < n { if a[i] != b[i] { return 0 } i = i + 1 } return 1 } called by 1: main |
| 10 | func mg_expect(cond: i64, pass: *i64, tot: *i64, label: *u8) -> i64 |
| 17 | func main() -> i64 |