Currently TLS is fully optional in wbabd serve — if WBABD_TLS_CERT_FILE and WBABD_TLS_KEY_FILE are not set, the daemon starts with plain HTTP.
Change: Require TLS by default. Add WBABD_TLS_DISABLE=1 as explicit opt-out for development.
Scope:
tools/wbabd: serve handler fails if no TLS configured and WBABD_TLS_DISABLE is not set
scripts/security/daemon-preflight.sh: validate_tls() respects WBABD_TLS_DISABLE
tests/shell/test_wbabd_serve_tls_limits_config.sh: Test that plain-HTTP serve is rejected by default, allowed with opt-out
tests/policy/daemon_security.sh: Updated to verify WBABD_TLS_DISABLE handling
docs/CONTRACTS.md: Update TLS contract
docs/DAEMON_API_SECURITY_PLAN.md: Update security plan
Currently TLS is fully optional in
wbabd serve— ifWBABD_TLS_CERT_FILEandWBABD_TLS_KEY_FILEare not set, the daemon starts with plain HTTP.Change: Require TLS by default. Add
WBABD_TLS_DISABLE=1as explicit opt-out for development.Scope:
tools/wbabd:servehandler fails if no TLS configured andWBABD_TLS_DISABLEis not setscripts/security/daemon-preflight.sh:validate_tls()respectsWBABD_TLS_DISABLEtests/shell/test_wbabd_serve_tls_limits_config.sh: Test that plain-HTTP serve is rejected by default, allowed with opt-outtests/policy/daemon_security.sh: Updated to verifyWBABD_TLS_DISABLEhandlingdocs/CONTRACTS.md: Update TLS contractdocs/DAEMON_API_SECURITY_PLAN.md: Update security plan