mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
OTA 接口以前只看两个请求头有没有值就发凭证,谁都能换一个。现在改成 拿旧凭证换新凭证,或者用一次性激活码首次接入,激活码用完就作废。 顺带修三处:设备号格式校验,和智控台用同一套规则,防止设备号被拼进 订阅地址时越权订阅别人的数据;MQTT 通路也纳入认证开关,不再绕过; 固件下载要带凭证才能下。 |
||
|---|---|---|
| .. | ||
| config | ||
| core | ||
| models | ||
| music | ||
| performance_tester | ||
| plugins_func | ||
| tests | ||
| agent-base-prompt.txt | ||
| app.py | ||
| config.yaml | ||
| config_from_api.yaml | ||
| docker-compose.yml | ||
| docker-compose_all.yml | ||
| mcp_server_settings.json | ||
| performance_tester.py | ||
| pyproject.toml | ||
| requirements.txt | ||