src.nth.io/

summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-07-28 17:38:06 -0500
committerLuke Hoersten <[email protected]>2026-07-28 17:38:06 -0500
commit29943e536f2be420a9d4042cd26d7b7eddf71438 (patch)
tree3083eafc75877243777a8257dd4a46e88ee8a3cf /.gitignore
parent28a660e8bacac84523601f67547b2671058d9b20 (diff)
Address remaining audit findings: input hardening and cleanup
Security: - SNTP replies must echo a random nonce in their originate timestamp, and unsynchronized (LI=3) or invalid-stratum servers are rejected, so an off-path spoofer cannot defeat the clock-trust gate - The storage directory is created 0700 but an existing one is tightened only when it is provably ours (holds our artifacts or is empty); a misconfigured path like /tmp under root is left alone with a warning - Device-supplied vendor/product names are stripped of control characters at ingestion so a device cannot inject terminal escapes Cleanup: - ensure_fabric splits into decision logic plus bootstrap_fabric - read_device_names merges the two name readers; a From impl replaces the hand-mapped IdentityReport; run_sync uses map/transpose with an extracted manual_instant; pick_interface runs once; print_json escapes its fallback; device_name dedups the vendor/product join; identity_status ignores leftover .tmp blobs; dead parameters and repeated random-id code removed 36 unit tests, clippy clean.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions