code wiki / _hdl_build / nx_connect_live_verify.nx
nx_connect_live_verify.nx
buildroot/runtime/_hdl_build/nx_connect_live_verify.nx
about
nx_connect_live_verify.nx -- SOVEREIGN live verification of the PUBLIC CONNECT app, every rung OURS
on OUR hardware: DNS -> TCP -> our TLS 1.3 handshake (X.509 chain-validated vs the Mozilla trust
store) -> HTTP GET/POST -> our HTTP parser -> our dechunk -> byte assertions. This REPLACES WebFetch
(operator 2026-07-10: "i dont want webfetch in the mix i want native nishi os and nishi browser our
hardware from each rung up"). Same bits-up stack as nx_browser_own_site_live_test, extended to POST
so the INTERACTIVE path is proven sovereignly too.
GET https://nishifamily.com/connect -> 200 + app markers (title, Vera, ru+en MT, receipts)
POST https://nishifamily.com/connect/say -> the reply renders "thanks friend" (real MT over TLS)
Exit 0 = the live public app served + rendered through our own browser stack. license_tier: ORIGINAL
dependencies 10 imports · 0 importers
imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_tls13_client_validate_certificate.nxnx_tls13_client_session_run.nxnx_https_url_for_fetch.nxnx_https_url_connect.nxnx_https_get_complete.nxnx_https_post_complete.nxnx_http_response_parse.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| 20 | const K_MAGIC_262144: i64 = 262144 |
| 21 | const K_MAGIC_16384: i64 = 16384 |
| 22 | const K_MAGIC_4194304: i64 = 4194304 |
functions
| 24 | func lv_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 25 | func lv_n(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 } |
| 26 | func lv_check(pass: i64, label: *u8, fails: *i64) -> i64 |
| 31 | func lv_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 32 | func lv_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){dst[off+i]=s[i]; i=i+1} return off+i } |
| 33 | func lv_catb(dst: *u8, off: i64, src: *u8, n: i64) -> i64 { var i: i64=0; while i<n { dst[off+i]=src[i]; i=i+1 } return off+n } |
| 34 | func lv_catnum(dst: *u8, off: i64, v: i64) -> i64 calls 1: sys_mmap |
| 45 | func lv_has(buf: *u8, n: i64, needle: *u8) -> i64 |
| 61 | func lv_fetch(store: *TrustStore, is_post: i64, path: *u8, plen: i64, body: *u8, blen: i64, |
| 122 | func main() -> i64 |