mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 17:36:56 +00:00
The endpoint is called by the secubox-render-nginx-webui script via the secubox-haproxy unix socket. The script has no JWT token at hand (it runs from postinst triggers as root). Requiring JWT broke the trigger-driven render flow. Rationale for making the endpoint public: - The content is fully derivable from /webui/admin-domain (already public). - Unix-socket access is root-only at the filesystem level. - The rendered vhost contains no secrets. Test updated: test_nginx_config_requires_jwt → test_nginx_config_is_public. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| routers | ||
| __init__.py | ||
| main.py | ||
| webui_identity.py | ||