code wiki / _hdl_build / nx_cms_setpw.nx

nx_cms_setpw.nx

buildroot/runtime/_hdl_build/nx_cms_setpw.nx

1582 B39 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind tooltopic cms
docsdependenciesstructsconstsfunctions

about

nx_cms_setpw.nx -- operator tool: set the editor password for a CMS site dir. nx_cms_setpw.sov.elf <sitedir> <password> Writes <sitedir>/admin_pw.sha256 (hex). Only the HASH is stored (never plaintext, vault doctrine); upgrade path = argon2id once CRYPTO-RUNTIME-DEFECT (blake2b codegen) is fixed. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_sha256.nx nx_syscalls.nx nx_cms_setpw.nx

imports: nx_sha256.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_write sys_exit sys_mmap sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_compress_ni blk_word blk_byte sha256_final blk_set_byte ↻ sha256_compress ↻ sp_len sys_openat_wr sys_close

structs

none

consts

none

functions

8func sp_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: main
10func main(argc: i64, argv: *i64) -> i64