code wiki / _hdl_build / nx_room_invite.nx
nx_room_invite.nx
buildroot/runtime/_hdl_build/nx_room_invite.nx
about
nx_room_invite.nx -- mint a ROOM CAPABILITY LINK (task #41 room tokens). Usage:
nx_room_invite <room> [secretfile] (secretfile default knowledge/room_secret.txt)
Prints: https://nishifamily.com/video/?room=<room>#k=<token> (token = same SSOT organ as the relay)
The operator arms a room by (1) adding it to knowledge/rooms_protected.txt, (2) sharing this link.
#k= (hash) keeps the token out of server logs/referers; the client accepts ?k= too. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_room_key.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
| 8 | const K_MAGIC_4096: i64 = 4096 |
functions
| 10 | func iw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 12 | func main(argc: i64, argv: *i64) -> i64 |