code wiki / _hdl_build / nx_cms_mfa_gate.nx
nx_cms_mfa_gate.nx
buildroot/runtime/_hdl_build/nx_cms_mfa_gate.nx
about
nx_cms_mfa_gate.nx -- INTEGRATION gate for the #12 MFA wiring in nx_cms_admin. Drives the REAL ca_mfa_ok
(the function the /admin/login handler calls after the argon2id password check) over a constructed POST
body + base32 secret: not-enrolled=pass-through, enrolled+valid=accept, enrolled+wrong/missing=reject,
enrolled+adjacent-step=accept (skew). exit 0 = pass, N = assertion N failed.
dependencies 2 imports · 0 importers
imports: nx_cms_admin.nxnx_assert.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 g_codebody(buf: *u8, code6: *u8) -> i64 |
| 15 | func main() -> i64 |